Class: TokyoMetro::Factory::Convert::Patch::Api::TrainTimetable::YurakuchoLine::Info
- Inherits:
-
Common::Api::MetaClass::Fundamental::Normal
- Object
- Common::Api::MetaClass::Fundamental
- Common::Api::MetaClass::Fundamental::Normal
- TokyoMetro::Factory::Convert::Patch::Api::TrainTimetable::YurakuchoLine::Info
- Defined in:
- lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/info.rb
Instance Attribute Summary
Attributes inherited from Common::Api::MetaClass::Fundamental
Instance Method Summary collapse
-
#initialize(object, train_timetables) ⇒ Info
constructor
A new instance of Info.
- #process ⇒ Object
Methods inherited from Common::Api::MetaClass::Fundamental::Normal
Constructor Details
#initialize(object, train_timetables) ⇒ Info
Returns a new instance of Info.
5 6 7 8 9 |
# File 'lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/info.rb', line 5 def initialize( object , ) super( object ) @train_timetables = set_valid_train end |
Instance Method Details
#process ⇒ Object
11 12 13 |
# File 'lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/info.rb', line 11 def process @valid_train.instance_variable_set( :@weekdays , valid_station_times_on_weekdays ) end |