Class: Spreeference::Environment

Inherits:
Object
  • Object
show all
Includes:
EnvironmentExtension
Defined in:
lib/spreeference/environment.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from EnvironmentExtension

#add_class

Constructor Details

#initializeEnvironment

Returns a new instance of Environment.



7
8
9
# File 'lib/spreeference/environment.rb', line 7

def initialize
  @preferences = Spreeference::AppConfiguration.new
end

Instance Attribute Details

#preferencesObject

Returns the value of attribute preferences.



5
6
7
# File 'lib/spreeference/environment.rb', line 5

def preferences
  @preferences
end