Class: TokyoMetro::Static::TrainOwner

Inherits:
Fundamental::MetaClass::UsingOneYaml show all
Includes:
ClassNameLibrary::Static::TrainOwner
Defined in:
lib/tokyo_metro/static/train_owner.rb

Overview

車両所有事業者の情報を扱うクラス

Defined Under Namespace

Classes: Hash, Info

Class Method Summary collapse

Class Method Details

.set_constantnil

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

Returns:

  • (nil)


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

def self.set_constant
  ::TokyoMetro::Static.const_set( :TRAIN_OWNERS , self.generate_from_yaml )
end