Class: TokyoMetro::Required::All::Static::TrainType

Inherits:
TokyoMetro::Required show all
Defined in:
lib/tokyo_metro/required/all/static/train_type.rb

Class Method Summary collapse

Class Method Details

.customObject



15
16
17
18
19
20
21
22
# File 'lib/tokyo_metro/required/all/static/train_type.rb', line 15

def custom
  [
    ::File.join( top_file , "custom" ) ,
    [ "other_operator" , "default_setting" , "main" ].map { | namespace |
      files_starting_with( top_file , "custom" , namespace )
    }
  ]
end

.in_api_and_colorObject



9
10
11
12
13
# File 'lib/tokyo_metro/required/all/static/train_type.rb', line 9

def in_api_and_color
  [ "in_api" , "color" ].map { | namespace |
    files_starting_with( top_file , namespace )
  }
end

.other_filesObject



3
4
5
# File 'lib/tokyo_metro/required/all/static/train_type.rb', line 3

def self.other_files
  [ in_api_and_color , custom ]
end