inn 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/inn.rb +17 -0
  3. metadata +44 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 25140b83dd733f30f7ffb4ef8f7ad1f3b67522e1
4
+ data.tar.gz: b7d59ac5d41290d118ab7a18154b9fc8f3536e99
5
+ SHA512:
6
+ metadata.gz: f9b408d82d17adad1ef316227884cc1a541e4032d7c90a5b080a73fc97ac5aa493018527e89f98a28486c0a8cc0b8465b73617327604d6c246f8585b0aee6908
7
+ data.tar.gz: 32314487ff30f71bb4c85fcd5adb8b2d0444c51b4e5ed60e6e3b83fb104fbca9e0412e49d60a50fc0db3833dc0bc6b82476227e1bcaa371b5a52a8f1a11ad9a3
@@ -0,0 +1,17 @@
1
+ module Inn
2
+ def in?(arr)
3
+ arr.include? self
4
+ end
5
+ end
6
+
7
+ class String
8
+ include Inn
9
+ end
10
+
11
+ class Integer
12
+ include Inn
13
+ end
14
+
15
+ class Float
16
+ include Inn
17
+ end
metadata ADDED
@@ -0,0 +1,44 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: inn
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Douglas E. Rogers
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-07-13 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Adds ability to see if a String,Integer,or Float is 'in' and array
14
+ email: doug@prettyinstant.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - lib/inn.rb
20
+ homepage: http://rubygems.org/gems/inn
21
+ licenses:
22
+ - MIT
23
+ metadata: {}
24
+ post_install_message:
25
+ rdoc_options: []
26
+ require_paths:
27
+ - lib
28
+ required_ruby_version: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ required_rubygems_version: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - ">="
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ requirements: []
39
+ rubyforge_project:
40
+ rubygems_version: 2.4.8
41
+ signing_key:
42
+ specification_version: 4
43
+ summary: adds .in? method
44
+ test_files: []