Class: TokyoMetro::Required::All::Modules::Common

Inherits:
TokyoMetro::Required show all
Defined in:
lib/tokyo_metro/required/all/modules/common.rb

Class Method Summary collapse

Class Method Details

.other_filesObject



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'lib/tokyo_metro/required/all/modules/common.rb', line 3

def self.other_files
  [
    File.join( "#{ top_file }/convert_constant_to_class_method" ) ,
    File.join( "#{ top_file }/dictionary" ) ,
    [ "railway_line" , "station" ].map { | dictionary_type |
      [
        File.join( top_file , "dictionary" , dictionary_type ) ,
        [ "string_info" , "string_list" , "regexp_info" ].map { | namespace |
          File.join( top_file , "dictionary" , dictionary_type , namespace )
        }
      ]
    } ,
    File.join( top_file , "decision" ) ,
    files_starting_with( top_file , "decision" , "station_regexp_library" )
  ]
end