class TokyoMetro::Static::Station::InEachRailwayLine

個別の路線の、複数の駅情報を扱うクラス(ハッシュ)

Public Class Methods

factory_for_generating_from_saved_file_for_this_class() click to toggle source
# File lib/tokyo_metro/static/station/in_each_railway_line.rb, line 16
def self.factory_for_generating_from_saved_file_for_this_class
  factory_for_generating_from_each_saved_file
end
factory_for_seeding_this_class() click to toggle source
# 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

Public Instance Methods

seed( railway_line , indent ) click to toggle source
Calls superclass method
# 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() click to toggle source
# File lib/tokyo_metro/static/station/in_each_railway_line.rb, line 8
def stations
  self.keys
end