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

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

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

#bindings, #bindings=, #with

Class Method Details

.keyObject


149
150
151
# File 'lib/rails_admin/config/actions/base.rb', line 149

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

Instance Method Details

#keyObject

Off API.


145
146
147
# File 'lib/rails_admin/config/actions/base.rb', line 145

def key
  self.class.key
end