Class: TokyoMetro::Static::TrainOperationStatus::Info
- Inherits:
-
Object
- Object
- TokyoMetro::Static::TrainOperationStatus::Info
- Includes:
- ClassNameLibrary::Static::TrainOperationStatus, Modules::Common::ToFactory::Generate::Info, Modules::Common::ToFactory::Seed::Info
- Defined in:
- lib/tokyo_metro/static/train_operation_status/info.rb
Instance Attribute Summary collapse
-
#in_api ⇒ Object
readonly
Returns the value of attribute in_api.
-
#name_ja ⇒ Object
readonly
Returns the value of attribute name_ja.
Instance Method Summary collapse
-
#initialize(in_api, name_ja) ⇒ Info
constructor
A new instance of Info.
Methods included from Modules::Common::ToFactory::Seed::Info
Constructor Details
#initialize(in_api, name_ja) ⇒ Info
Returns a new instance of Info.
7 8 9 10 |
# File 'lib/tokyo_metro/static/train_operation_status/info.rb', line 7 def initialize( in_api , name_ja ) @in_api = in_api @name_ja = name_ja end |
Instance Attribute Details
#in_api ⇒ Object (readonly)
Returns the value of attribute in_api.
12 13 14 |
# File 'lib/tokyo_metro/static/train_operation_status/info.rb', line 12 def in_api @in_api end |
#name_ja ⇒ Object (readonly)
Returns the value of attribute name_ja.
13 14 15 |
# File 'lib/tokyo_metro/static/train_operation_status/info.rb', line 13 def name_ja @name_ja end |