Class: TokyoMetro::Static::OperationDay::List
- Inherits:
-
Array
- Object
- Array
- TokyoMetro::Static::OperationDay::List
- Defined in:
- lib/tokyo_metro/static/operation_day/list.rb
Instance Method Summary collapse
Methods included from Modules::Common::ToFactory::Seed::Group
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method_name, *args) ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/tokyo_metro/static/operation_day/list.rb', line 6 def method_missing( method_name , *args ) info = self.find { | item | item.match?( method_name ) } if info.present? return info else super( method_name , *args ) end end |