Class: RequiredFiles::MetaClass

Inherits:
Object
  • Object
show all
Defined in:
lib/required_files.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(set_all_files_under_the_top_namespace: true) ⇒ MetaClass

Returns a new instance of MetaClass.



14
15
16
17
18
# File 'lib/required_files.rb', line 14

def initialize( set_all_files_under_the_top_namespace: true )
  @array = ::Array.new
  @set_all_files_under_the_top_namespace = set_all_files_under_the_top_namespace
  set_array
end

Instance Attribute Details

#arrayObject (readonly) Also known as: files, required_files

Returns the value of attribute array.



20
21
22
# File 'lib/required_files.rb', line 20

def array
  @array
end