class ActiveScaffold::Config::BatchDestroy

Attributes

process_mode[RW]

see class accessor

Public Class Methods

new(core_config) click to toggle source
Calls superclass method
# File lib/active_scaffold/config/batch_destroy.rb, line 5
def initialize(core_config)
  super
  @action_group ||= 'collection.batch.destroy'
  @process_mode = self.class.process_mode
end

Public Instance Methods

label(model = nil) click to toggle source

the label= method already exists in the Form base class

# File lib/active_scaffold/config/batch_destroy.rb, line 44
def label(model = nil)
  model ||= @core.label(:count => 2)
  @label ? as_(@label) : as_(:delete_model, :model => model)
end