Class: CityGrid::Listing
- Inherits:
-
Abstraction::SuperHash
- Object
- Hash
- Abstraction::SuperHash
- CityGrid::Listing
- Defined in:
- lib/citygrid/listing.rb
Defined Under Namespace
Modules: LoadedMethods
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Abstraction::SuperHash
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(meth, *args, &block) ⇒ Object
8 9 10 11 |
# File 'lib/citygrid/listing.rb', line 8 def method_missing meth, *args, &block load unless @loaded send(meth, *args, &block) rescue super end |
Class Method Details
.load(opts = {}) ⇒ Object
4 5 6 |
# File 'lib/citygrid/listing.rb', line 4 def self.load opts = {} new({}).update Details.new(opts) end |