Module: TokyoMetro::ClassNameLibrary::Static::Station::ClassMethods

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

Instance Method Summary collapse

Instance Method Details

#db_instance_classObject



48
49
50
# File 'lib/tokyo_metro/class_name_library/static/station.rb', line 48

def db_instance_class
  ::Station
end

#factory_for_generating_from_each_saved_fileObject



28
29
30
# File 'lib/tokyo_metro/class_name_library/static/station.rb', line 28

def factory_for_generating_from_each_saved_file
  ::TokyoMetro::Factory::Generate::Static::Station::InEachRailwayLine
end

#factory_for_generating_from_hashObject



32
33
34
# File 'lib/tokyo_metro/class_name_library/static/station.rb', line 32

def factory_for_generating_from_hash
  ::TokyoMetro::Factory::Generate::Static::Station::InEachRailwayLine::Info
end

#factory_for_generating_from_saved_filesObject



24
25
26
# File 'lib/tokyo_metro/class_name_library/static/station.rb', line 24

def factory_for_generating_from_saved_files
  ::TokyoMetro::Factory::Generate::Static::Station::RailwayLines
end

#factory_for_seeding_hashObject



36
37
38
# File 'lib/tokyo_metro/class_name_library/static/station.rb', line 36

def factory_for_seeding_hash
  ::TokyoMetro::Factory::Seed::Static::Station::RailwayLines
end

#factory_for_seeding_infoObject



44
45
46
# File 'lib/tokyo_metro/class_name_library/static/station.rb', line 44

def factory_for_seeding_info
  ::TokyoMetro::Factory::Seed::Static::Station::Info
end

#factory_for_seeding_subhashObject



40
41
42
# File 'lib/tokyo_metro/class_name_library/static/station.rb', line 40

def factory_for_seeding_subhash
  ::TokyoMetro::Factory::Seed::Static::Station::InEachRailwayLine
end

#hash_classObject



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

def hash_class
  ::TokyoMetro::Static::Station::RailwayLines
end

#info_classObject



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

def info_class
  ::TokyoMetro::Static::Station::InEachRailwayLine::Info
end

#scss_color_factoryConst (class)

Note:

おそらく、もう使うことはない。

SCCS の color ファイルを作成する Factory Pattern Class の名称を返すメソッド

Returns:

  • (Const (class))


55
56
57
# File 'lib/tokyo_metro/class_name_library/static/station.rb', line 55

def scss_color_factory
  ::TokyoMetro::Factory::Scss::Station::Colors
end

#subhash_classObject



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

def subhash_class
  ::TokyoMetro::Static::Station::InEachRailwayLine
end

#title_jaString

Note:

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

タイトル

Returns:

  • (String)


62
63
64
# File 'lib/tokyo_metro/class_name_library/static/station.rb', line 62

def title_ja
  "駅一覧"
end

#toplevel_namespaceObject



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

def toplevel_namespace
  ::TokyoMetro::Static::Station
end