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

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

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

.keyObject



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

#keyObject

Off API.



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

def key
  self.class.key
end