Class: NilClass
- Inherits:
-
Object
- Object
- NilClass
- Defined in:
- lib/reverse_geocode.rb
Instance Method Summary collapse
-
#/(other) ⇒ Object
Raises a more useful error when nil#/ is called.
Instance Method Details
#/(other) ⇒ Object
Raises a more useful error when nil#/ is called.
112 113 114 |
# File 'lib/reverse_geocode.rb', line 112 def /(other) raise ArgumentError, "Unknown method '/' called on nil with #{other.inspect}. Maybe you were looking for a Hash?" end |