Class: Dam::Context
- Inherits:
-
Object
- Object
- Dam::Context
- Defined in:
- lib/dam/activity.rb
Instance Attribute Summary collapse
-
#params ⇒ Object
readonly
Returns the value of attribute params.
Instance Method Summary collapse
-
#initialize(params) ⇒ Context
constructor
A new instance of Context.
Constructor Details
#initialize(params) ⇒ Context
Returns a new instance of Context.
28 |
# File 'lib/dam/activity.rb', line 28 def initialize(params); @params = params; end |
Instance Attribute Details
#params ⇒ Object (readonly)
Returns the value of attribute params.
27 28 29 |
# File 'lib/dam/activity.rb', line 27 def params @params end |