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?, included, #register_deprecated_instance_option, #register_instance_option

Methods included from Proxyable

#with

Class Method Details

.keyObject



131
132
133
# File 'lib/rails_admin/config/actions/base.rb', line 131

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

Instance Method Details

#keyObject

Off API.



127
128
129
# File 'lib/rails_admin/config/actions/base.rb', line 127

def key
  self.class.key
end