Class: RailsAdmin::Config::Actions::Base

Inherits:
Object
  • Object
show all
Includes:
Configurable, Hideable, Proxyable
Defined in:
lib/rails_admin/config/actions/base.rb

Direct Known Subclasses

BulkDelete, Dashboard, Delete, Edit, Export, HistoryIndex, HistoryShow, Index, New, Show, ShowInApp

Instance Attribute Summary

Attributes included from Proxyable

#bindings

Class Method Summary (collapse)

Instance Method Summary (collapse)

Methods included from Hideable

#hidden?, #hide, included, #show

Methods included from Configurable

#has_option?, #register_deprecated_instance_option, #register_instance_option

Methods included from Proxyable

#with

Class Method Details

+ (Object) key



111
112
113
# File 'lib/rails_admin/config/actions/base.rb', line 111

def self.key
  self.name.to_s.demodulize.underscore.to_sym
end

Instance Method Details

- (Object) key

Off API.



107
108
109
# File 'lib/rails_admin/config/actions/base.rb', line 107

def key
  self.class.key
end