Class: Manufacturable::Config

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

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.require_method=(value) ⇒ Object

Sets the attribute require_method

Parameters:

  • value

    the value to set the attribute require_method to.



4
5
6
# File 'lib/manufacturable/config.rb', line 4

def require_method=(value)
  @require_method = value
end

Class Method Details

.load_pathsObject



10
11
12
# File 'lib/manufacturable/config.rb', line 10

def load_paths
  paths.each { |path| require_path(path) }
end

.pathsObject



6
7
8
# File 'lib/manufacturable/config.rb', line 6

def paths
  @paths ||= []
end