dotable_hash 0.0.1

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/dotable_hash.rb +5 -0
  3. metadata +44 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: d5e2626518ac78ddcc9d1c7896713af5b36fdc1144b9deccb8b605c67a66a7c2
4
+ data.tar.gz: 10ab362d23e2b5ed38f9d7833ac3b231604ebfd3f6a1f05110999d6619d8c5eb
5
+ SHA512:
6
+ metadata.gz: 27748d66e1981ebea790b7036141e249cb2cb6c75467d46d1cf8ce698c2460062bd563cf31f1512866eda69ff55969b28e1e092815604fc09138e5ef75c6270b
7
+ data.tar.gz: 363c648aa25f44ba330e8102a0c205d7fe34583c5d7c23f05fc6b00820532bb8cd80e264596c116e52c7a467b28c88dae5f01f73f9242fd6d0fe2c6dfa4a503d
@@ -0,0 +1,5 @@
1
+ class Hash
2
+ def method_missing(name, *args, &block)
3
+ self[name.to_s] || self[name.to_sym]
4
+ end
5
+ end
metadata ADDED
@@ -0,0 +1,44 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: dotable_hash
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Thomas Peikert
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-02-24 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description:
14
+ email: t.s.peikert+dotable@gmail.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - "./lib/dotable_hash.rb"
20
+ homepage: https://github.com/TPei/dotable_hash
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.7.6
41
+ signing_key:
42
+ specification_version: 4
43
+ summary: access hash keys like json objects
44
+ test_files: []