Class: SchoolgirlUniform::Carrier
- Inherits:
-
Object
- Object
- SchoolgirlUniform::Carrier
- Defined in:
- app/carriers/carrier.rb
Instance Method Summary collapse
- #current_step_path ⇒ Object
-
#initialize(form, paths = {}) ⇒ Carrier
constructor
A new instance of Carrier.
- #previous_step_path ⇒ Object
Constructor Details
#initialize(form, paths = {}) ⇒ Carrier
Returns a new instance of Carrier.
4 5 6 7 8 |
# File 'app/carriers/carrier.rb', line 4 def initialize(form, paths = {}) @form = form @current_step_path = paths[:current] @previous_step_path = paths[:previous] end |
Instance Method Details
#current_step_path ⇒ Object
10 11 12 |
# File 'app/carriers/carrier.rb', line 10 def current_step_path @current_step_path end |
#previous_step_path ⇒ Object
14 15 16 |
# File 'app/carriers/carrier.rb', line 14 def previous_step_path @previous_step_path end |