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
14 15 16 17 18 19 20 21 22 |
# File 'lib/citygrid/listing.rb', line 14 def method_missing meth, *args, &block if @loaded super else @loaded = true load send(meth, *args, &block) end end |
Class Method Details
.all(opts = {}) ⇒ Object
9 10 11 |
# File 'lib/citygrid/listing.rb', line 9 def all opts = {} MultiDetails.new opts end |