Module: TokyoMetro::ClassNameLibrary::Static::StationsInTokyoMetro::ClassMethods

Defined in:
lib/tokyo_metro/class_name_library/static/stations_in_tokyo_metro.rb

Instance Method Summary collapse

Instance Method Details

#factory_for_generating_from_hashObject



20
21
22
# File 'lib/tokyo_metro/class_name_library/static/stations_in_tokyo_metro.rb', line 20

def factory_for_generating_from_hash
  ::TokyoMetro::Factory::Generate::Static::StationsInTokyoMetro::Info
end

#factory_for_generating_from_saved_fileObject



16
17
18
# File 'lib/tokyo_metro/class_name_library/static/stations_in_tokyo_metro.rb', line 16

def factory_for_generating_from_saved_file
  ::TokyoMetro::Factory::Generate::Static::StationsInTokyoMetro::Hash
end

#hash_classObject



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

def hash_class
  ::TokyoMetro::Static::StationsInTokyoMetro::Hash
end

#info_classObject



12
13
14
# File 'lib/tokyo_metro/class_name_library/static/stations_in_tokyo_metro.rb', line 12

def info_class
  ::TokyoMetro::Static::StationsInTokyoMetro::Info
end

#title_jaString

Note:

Haml ファイルに書き出す際の見出しなどに使用

タイトル

Returns:

  • (String)


27
28
29
# File 'lib/tokyo_metro/class_name_library/static/stations_in_tokyo_metro.rb', line 27

def title_ja
  "駅施設"
end