Method: ActiveScaffold::DataStructures::Actions#exclude
- Defined in:
- lib/active_scaffold/data_structures/actions.rb
#exclude(*args) ⇒ Object
9 10 11 12 |
# File 'lib/active_scaffold/data_structures/actions.rb', line 9 def exclude(*args) args.collect! { |a| a.to_sym } # symbolize the args @set.reject! { |m| args.include? m } # reject all actions specified end |