Class: ParamsBuilder::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



5
6
7
# File 'lib/params_builder/configuration.rb', line 5

def initialize
  @file_path = "#{Rails.root}/params_builders" if defined?(Rails)
end

Instance Attribute Details

#file_pathObject

Returns the value of attribute file_path.



3
4
5
# File 'lib/params_builder/configuration.rb', line 3

def file_path
  @file_path
end