Class: TokyoMetro::Static::Station

Inherits:
Fundamental::MetaClass::UsingMultipleYamls show all
Includes:
ClassNameLibrary::Static::Station
Defined in:
lib/tokyo_metro/static/station.rb

Overview

駅の情報(他社線も含む)を扱うクラス

Defined Under Namespace

Classes: InEachRailwayLine, RailwayLines

Class Method Summary collapse

Class Method Details

.set_constantnil

定数を設定するクラスメソッド

Returns:

  • (nil)


8
9
10
# File 'lib/tokyo_metro/static/station.rb', line 8

def self.set_constant
  ::TokyoMetro::Static.const_set( :STATIONS , self.generate_from_yamls )
end