class Stall::Checkout::WizardGenerator
Public Instance Methods
copy_wizard_template()
click to toggle source
# File lib/generators/stall/checkout/wizard/wizard_generator.rb, line 6 def copy_wizard_template template 'wizard.rb.erb', "lib/#{ file_path }.rb" end
Private Instance Methods
file_name()
click to toggle source
Override provided file name to include checkout_wizard at the end and allow every NamedBase helpers to use that name
# File lib/generators/stall/checkout/wizard/wizard_generator.rb, line 15 def file_name @_file_name ||= [@file_name, 'checkout_wizard'].join('_') end