Module: TokyoMetro::ClassNameLibrary::Static::Station::ClassMethods
- Defined in:
- lib/tokyo_metro/class_name_library/static/station.rb
Instance Method Summary collapse
- #db_instance_class ⇒ Object
- #factory_for_generating_from_each_saved_file ⇒ Object
- #factory_for_generating_from_hash ⇒ Object
- #factory_for_generating_from_saved_files ⇒ Object
- #factory_for_seeding_hash ⇒ Object
- #factory_for_seeding_info ⇒ Object
- #factory_for_seeding_subhash ⇒ Object
- #hash_class ⇒ Object
- #info_class ⇒ Object
-
#scss_color_factory ⇒ Const (class)
SCCS の color ファイルを作成する Factory Pattern Class の名称を返すメソッド.
- #subhash_class ⇒ Object
-
#title_ja ⇒ String
タイトル.
- #toplevel_namespace ⇒ Object
Instance Method Details
#db_instance_class ⇒ Object
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_file ⇒ Object
28 29 30 |
# File 'lib/tokyo_metro/class_name_library/static/station.rb', line 28 def ::TokyoMetro::Factory::Generate::Static::Station::InEachRailwayLine end |
#factory_for_generating_from_hash ⇒ Object
32 33 34 |
# File 'lib/tokyo_metro/class_name_library/static/station.rb', line 32 def ::TokyoMetro::Factory::Generate::Static::Station::InEachRailwayLine::Info end |
#factory_for_generating_from_saved_files ⇒ Object
24 25 26 |
# File 'lib/tokyo_metro/class_name_library/static/station.rb', line 24 def ::TokyoMetro::Factory::Generate::Static::Station::RailwayLines end |
#factory_for_seeding_hash ⇒ Object
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_info ⇒ Object
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_subhash ⇒ Object
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_class ⇒ Object
12 13 14 |
# File 'lib/tokyo_metro/class_name_library/static/station.rb', line 12 def hash_class ::TokyoMetro::Static::Station::RailwayLines end |
#info_class ⇒ Object
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_factory ⇒ Const (class)
Note:
おそらく、もう使うことはない。
SCCS の color ファイルを作成する Factory Pattern 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_class ⇒ Object
16 17 18 |
# File 'lib/tokyo_metro/class_name_library/static/station.rb', line 16 def subhash_class ::TokyoMetro::Static::Station::InEachRailwayLine end |
#title_ja ⇒ String
Note:
Haml ファイルに書き出す際の見出しなどに使用
タイトル
62 63 64 |
# File 'lib/tokyo_metro/class_name_library/static/station.rb', line 62 def title_ja "駅一覧" end |
#toplevel_namespace ⇒ Object
8 9 10 |
# File 'lib/tokyo_metro/class_name_library/static/station.rb', line 8 def toplevel_namespace ::TokyoMetro::Static::Station end |