yeah_i_did 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/yeah_i_did.rb +9 -0
  3. metadata +43 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: fa3e7a1e3f2eafc6fca681770822728a44330f32
4
+ data.tar.gz: 63540ff78c18e1802d5bf64fef9ba96da1f830e0
5
+ SHA512:
6
+ metadata.gz: 58e6470f32e5a6365a7cb77d53449f931566eab0343f1650266b9d368e80282e87c4010c59d0a2d67927c60eb104b523d6b70e9676149e270c9004e1db360073
7
+ data.tar.gz: e856a15ddfa68dfc5248326d73a31e2c7530dbde726cbf15fcaab207c158e64ed7b5c5b2a848ea9f42ed9a0de860727e91328485ae52da90c43d9d4a724d393b
data/lib/yeah_i_did.rb ADDED
@@ -0,0 +1,9 @@
1
+ module DidYouMean
2
+ def self.yeah_i_did
3
+ begin
4
+ yield
5
+ rescue NoMethodError => e
6
+ e.receiver.send(e.corrections.first, *e.args)
7
+ end
8
+ end
9
+ end
metadata ADDED
@@ -0,0 +1,43 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: yeah_i_did
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Will Leinweber
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-04-09 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Helpfully fixes your typos
14
+ email: will@bitfission.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - lib/yeah_i_did.rb
20
+ homepage:
21
+ licenses: []
22
+ metadata: {}
23
+ post_install_message:
24
+ rdoc_options: []
25
+ require_paths:
26
+ - lib
27
+ required_ruby_version: !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ version: '0'
32
+ required_rubygems_version: !ruby/object:Gem::Requirement
33
+ requirements:
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: '0'
37
+ requirements: []
38
+ rubyforge_project:
39
+ rubygems_version: 2.5.1
40
+ signing_key:
41
+ specification_version: 4
42
+ summary: you know what I mean
43
+ test_files: []