Module: DryController::ClassMethods

Defined in:
lib/dry_controller.rb

Instance Method Summary collapse

Instance Method Details

#default_actions(*args) ⇒ Object



22
23
24
25
26
# File 'lib/dry_controller.rb', line 22

def default_actions(*args)
  args.each do |meth|
    define_method meth.to_sym, lambda {  }
  end
end