nil_nil 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/nil_nil.rb +5 -0
  3. metadata +43 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: e203d1c37387f7a33e8bc38bbcf07ba960f6e578a6a6bab55dd955a61370a2d3
4
+ data.tar.gz: 212767d46102aa540cfb481fe3089ee97e38e137c0d11c61a713ecdf2d948a8e
5
+ SHA512:
6
+ metadata.gz: a6d9c92ac4e977f85a9c92663549f3c59bcef15a3f50545f4a96f99b84d58998e676f3ee6393b4f8e7488dedaac04a4fc8e8b19b7e9ef9c2cd85820c116323a3
7
+ data.tar.gz: 75b3bcb5fb332c88ba22800eb90e600b18a6196199525bfe3d3fe3894ed697de1faf0f185370b9c2270c8fc1997ceb54e3ddb559d0d0e64acafdb2387a37d0f7
data/lib/nil_nil.rb ADDED
@@ -0,0 +1,5 @@
1
+ class NilClass
2
+ def method_missing(method_name, *args, &block)
3
+ nil
4
+ end
5
+ end
metadata ADDED
@@ -0,0 +1,43 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: nil_nil
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Matt Manning
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-02-13 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: All undefined methods called on NilClass return nil
14
+ email: matt.manning@gmail.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - lib/nil_nil.rb
20
+ homepage: https://github.com/mattmanning/nil_nil
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
+ rubygems_version: 3.0.6
40
+ signing_key:
41
+ specification_version: 4
42
+ summary: Never get a NoMethodError on nil again
43
+ test_files: []