nash 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/nash.rb +1 -2
  2. metadata +1 -1
data/lib/nash.rb CHANGED
@@ -2,8 +2,7 @@ class NilClass
2
2
  def method_missing(method, *args)
3
3
  if method == :[]
4
4
  raise NoMethodError.new("undefined method `[]' for nil:NilClass, with argument #{args.first.inspect}")
5
- else
6
- super
7
5
  end
6
+ super
8
7
  end
9
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nash
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: