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



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

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

Instance Method Details

#keyObject

Off API.



122
123
124
# File 'lib/rails_admin/config/actions/base.rb', line 122

def key
  self.class.key
end