module Actions::Group::ClassMethods

Public Instance Methods

actions(*actions) click to toggle source
# File lib/actions/group.rb, line 16
def actions(*actions)
  @actions ||= []
  if actions.length > 0
    @actions = actions.freeze
  else
    @actions
  end
end