Class: TokyoMetro::Static::Station::InEachRailwayLine
- Inherits:
-
Fundamental::Hash
- Object
- Hash
- Fundamental::Hash
- TokyoMetro::Static::Station::InEachRailwayLine
- Includes:
- ClassNameLibrary::Static::Station, Modules::Common::ToFactory::Seed::Hash, Modules::Static::ToFactory::Generate::Group::OneYaml
- Defined in:
- lib/tokyo_metro/static/station/in_each_railway_line.rb
Overview
個別の路線の、複数の駅情報を扱うクラス(ハッシュ)
Defined Under Namespace
Classes: Info
Class Method Summary collapse
- .factory_for_generating_from_saved_file_for_this_class ⇒ Object
- .factory_for_seeding_this_class ⇒ Object
Instance Method Summary collapse
Methods included from Modules::Static::Hash::DefineTest
Class Method Details
.factory_for_generating_from_saved_file_for_this_class ⇒ Object
16 17 18 |
# File 'lib/tokyo_metro/static/station/in_each_railway_line.rb', line 16 def self. end |
.factory_for_seeding_this_class ⇒ Object
20 21 22 |
# File 'lib/tokyo_metro/static/station/in_each_railway_line.rb', line 20 def self.factory_for_seeding_this_class factory_for_seeding_subhash end |
Instance Method Details
#seed(railway_line, indent) ⇒ Object
12 13 14 |
# File 'lib/tokyo_metro/static/station/in_each_railway_line.rb', line 12 def seed( railway_line , indent ) super( railway_line , not_on_the_top_layer: true , indent: indent ) end |
#stations ⇒ Object
8 9 10 |
# File 'lib/tokyo_metro/static/station/in_each_railway_line.rb', line 8 def stations self.keys end |