Class: DashOverlord::Requirable::Base

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBase

Returns a new instance of Base.



9
10
11
# File 'lib/dash_overlord/requirable.rb', line 9

def initialize
  @before_load_paths = []
end

Instance Attribute Details

#before_load_pathsObject

Returns the value of attribute before_load_paths.



7
8
9
# File 'lib/dash_overlord/requirable.rb', line 7

def before_load_paths
  @before_load_paths
end

Instance Method Details

#register(path) ⇒ Object



13
14
15
# File 'lib/dash_overlord/requirable.rb', line 13

def register path
  @before_load_paths << path
end