rogerdpack-sane 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/sane.rb +10 -1
  2. metadata +1 -1
data/lib/sane.rb CHANGED
@@ -35,4 +35,13 @@ doctest: Also, like a normal require, you can leave off the .rb suffix
35
35
  >> $here2
36
36
  => 1
37
37
 
38
- =end
38
+ =end
39
+
40
+
41
+ class Object
42
+ def in? collection
43
+ collection.include?(self)
44
+ end
45
+ end
46
+
47
+ require_rel 'enumerable-extra'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rogerdpack-sane
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roger PacK