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.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(controller, options) ⇒ Flow
constructor
A new instance of Flow.
- #name ⇒ Object
Constructor Details
#initialize(controller, options) ⇒ Flow
Returns a new instance of Flow.
6 7 8 |
# File 'lib/adequate_exposure/flow.rb', line 6 def initialize(controller, ) @controller, @options = controller, .with_indifferent_access 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 |
#options ⇒ Object (readonly)
Returns the value of attribute options.
3 4 5 |
# File 'lib/adequate_exposure/flow.rb', line 3 def @options end |
Instance Method Details
#name ⇒ Object
10 11 12 |
# File 'lib/adequate_exposure/flow.rb', line 10 def name .fetch(:name) end |