Class: Omniconf::Adapter::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/omniconf/adapters/base.rb

Direct Known Subclasses

ActiveRecord, Yaml

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#configurationObject (readonly)

Returns the value of attribute configuration.



7
8
9
# File 'lib/omniconf/adapters/base.rb', line 7

def configuration
  @configuration
end

#source_idObject (readonly)

Returns the value of attribute source_id.



6
7
8
# File 'lib/omniconf/adapters/base.rb', line 6

def source_id
  @source_id
end

Instance Method Details

#reload_configuration!Object



8
# File 'lib/omniconf/adapters/base.rb', line 8

def reload_configuration!; load_configuration! end