Module: Wicked::Macros

Defined in:
lib/wicked/macros.rb

Instance Method Summary collapse

Instance Method Details

#wicked_base_action(&block) ⇒ Object



14
15
16
17
18
19
20
21
# File 'lib/wicked/macros.rb', line 14

def wicked_base_action &block
  focused_action :action do
    include Wicked::Action
    
    instance_eval &block
  end
  wicked_wizard
end

#wicked_wizardObject



10
11
12
# File 'lib/wicked/macros.rb', line 10

def wicked_wizard
  include Wicked::Wizard
end