object-in 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/lib/object-in/version.rb +1 -1
- data/object-in.gemspec +1 -1
- metadata +4 -4
data/README.md
CHANGED
@@ -29,7 +29,7 @@ in.
|
|
29
29
|
array = %w{yankee doodle doo}
|
30
30
|
"yankee".in? array # => true
|
31
31
|
"da".in? array # => false
|
32
|
-
yankee.in? array.join(" ") # => raises a TypeError
|
32
|
+
yankee.in? array.join(" ") # => raises a TypeError exception
|
33
33
|
```
|
34
34
|
|
35
35
|
* It returns true if the array passed in includes the object.
|
data/lib/object-in/version.rb
CHANGED
data/object-in.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |gem|
|
|
12
12
|
"in?", which is Array#include? with the subject and object inverted.}
|
13
13
|
gem.summary = %q{A monkeypatch on Object which adds the instance method
|
14
14
|
"in?", which is Array#include? with the subject and object inverted.}
|
15
|
-
gem.homepage = "
|
15
|
+
gem.homepage = "https://github.com/timrogers/object-in"
|
16
16
|
|
17
17
|
gem.files = `git ls-files`.split($/)
|
18
18
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: object-in
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -44,7 +44,7 @@ files:
|
|
44
44
|
- lib/object-in.rb
|
45
45
|
- lib/object-in/version.rb
|
46
46
|
- object-in.gemspec
|
47
|
-
homepage:
|
47
|
+
homepage: https://github.com/timrogers/object-in
|
48
48
|
licenses: []
|
49
49
|
post_install_message:
|
50
50
|
rdoc_options: []
|
@@ -58,7 +58,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
58
58
|
version: '0'
|
59
59
|
segments:
|
60
60
|
- 0
|
61
|
-
hash:
|
61
|
+
hash: 2961966373384751941
|
62
62
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
63
63
|
none: false
|
64
64
|
requirements:
|
@@ -67,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
67
67
|
version: '0'
|
68
68
|
segments:
|
69
69
|
- 0
|
70
|
-
hash:
|
70
|
+
hash: 2961966373384751941
|
71
71
|
requirements: []
|
72
72
|
rubyforge_project:
|
73
73
|
rubygems_version: 1.8.24
|