Module: Actions::Group::ClassMethods

Defined in:
lib/actions/group.rb

Instance Method Summary collapse

Instance Method Details

#actions(*actions) ⇒ Object



16
17
18
19
20
21
22
23
# File 'lib/actions/group.rb', line 16

def actions(*actions)
  @actions ||= []
  if actions.length > 0
    @actions = actions.freeze
  else
    @actions
  end
end