Class: TokyoMetro::Required::All

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

Defined Under Namespace

Classes: Api, App, ClassNameLibrary, Document, Factory, Initializer, Modules, Others, Rake, Refinement, Search, Static, TempLib, Test

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAll

Returns a new instance of All.



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

def initialize
  super( set_all_files_under_the_top_namespace: false )
end

Class Method Details

.files(file_type) ⇒ Object



36
37
38
39
40
41
42
43
# File 'lib/tokyo_metro/required/all.rb', line 36

def self.files( file_type )
  _files = super()

  display_files_not_be_required
  output_required_files( file_type )

  return _files
end

.ignored_filesObject



32
33
34
# File 'lib/tokyo_metro/required/all.rb', line 32

def self.ignored_files
  top_file
end

.other_filesObject



7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# File 'lib/tokyo_metro/required/all.rb', line 7

def self.other_files
  [
    ::File.join( top_file , "dictionary" ) ,
    Initializer.files ,
    Modules.files ,
    #
    ClassNameLibrary.files ,
    #
    Others.files ,
    #
    Static.files ,
    Api.files ,
    #
    Factory.files ,
    App.files ,
    #
    Refinement.files ,
    TempLib.files ,
    Document.files ,
    Test.files ,
    Search.files ,
    Rake.files
  ]
end