Class: Golden::ApplicationContext
Constant Summary
BooleanAccessor::TRUE_VALUES
Class Method Summary
collapse
Instance Method Summary
collapse
#parse_time
#attributes, #strip_attributes, #strip_attributes!
Constructor Details
Returns a new instance of ApplicationContext.
26
27
28
|
# File 'lib/golden/objects/application/application_context.rb', line 26
def initialize(accessors = {})
assign_attributes(accessors || {})
end
|
Class Method Details
.attributes ⇒ Object
8
9
10
|
# File 'lib/golden/objects/application/application_context.rb', line 8
def attributes
accessor_attributes
end
|
.permits ⇒ Object
12
13
14
15
16
17
|
# File 'lib/golden/objects/application/application_context.rb', line 12
def permits
@permits ||= lambda do
attrs = attributes.clone
attrs
end.call
end
|
Instance Method Details
30
31
32
|
# File 'lib/golden/objects/application/application_context.rb', line 30
def perform
raise NotImplementedError
end
|