Class: AdequateExposure::Flow
- Inherits:
-
Object
- Object
- AdequateExposure::Flow
- Defined in:
- lib/adequate_exposure/flow.rb
Instance Attribute Summary collapse
-
#controller ⇒ Object
readonly
Returns the value of attribute controller.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(controller, options) ⇒ Flow
constructor
A new instance of Flow.
Constructor Details
#initialize(controller, options) ⇒ Flow
Returns a new instance of Flow.
5 6 7 8 9 |
# File 'lib/adequate_exposure/flow.rb', line 5 def initialize(controller, ) @controller = controller @options = @name = .fetch(:name) end |
Instance Attribute Details
#controller ⇒ Object (readonly)
Returns the value of attribute controller.
3 4 5 |
# File 'lib/adequate_exposure/flow.rb', line 3 def controller @controller end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/adequate_exposure/flow.rb', line 3 def name @name end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
3 4 5 |
# File 'lib/adequate_exposure/flow.rb', line 3 def @options end |