raze 0.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/raze.rb +12 -0
  3. metadata +46 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c70171bd4c2e306bd45596597779c8110955d57e
4
+ data.tar.gz: f6d78f9ab4b5fba503ac0858cbba5b5590ff2f47
5
+ SHA512:
6
+ metadata.gz: 40d0938fad55cdb99d1d05742e977a1255ef7242e7097a2e0cf2f81826e55ade95a92044a9fe4a0063b614a37aae61bf29997ff95252c05f536d7a99466f03bb
7
+ data.tar.gz: c89e725afb8f221d22812e5ebb73b5748e9dea14161ae39adb11578554cd22cfbf43845dc401db8089c4a6073dc3122e0c6fa33d251fa730656a681b2eedb58f
@@ -0,0 +1,12 @@
1
+ # main module of raze
2
+ module Raze
3
+ def flatten(collection)
4
+ if collection.class == Hash
5
+
6
+ elsif collection.class == Array
7
+
8
+ else
9
+
10
+ end
11
+ end
12
+ end
metadata ADDED
@@ -0,0 +1,46 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: raze
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Austen Madden
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-02-09 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: |2
14
+ Provides methods to flatten nested collections into
15
+ one dimensional structure that is easy to iterate over.
16
+ email: maddenausten@gmail.com
17
+ executables: []
18
+ extensions: []
19
+ extra_rdoc_files: []
20
+ files:
21
+ - lib/raze.rb
22
+ homepage: https://github.com/austenmadden/raze
23
+ licenses:
24
+ - MIT
25
+ metadata: {}
26
+ post_install_message:
27
+ rdoc_options: []
28
+ require_paths:
29
+ - lib
30
+ required_ruby_version: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - '>='
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
35
+ required_rubygems_version: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - '>='
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ requirements: []
41
+ rubyforge_project:
42
+ rubygems_version: 2.0.14
43
+ signing_key:
44
+ specification_version: 4
45
+ summary: Gem for flattening collections
46
+ test_files: []