Module: RailsAdmin::Config::Proxyable

Included in:
Actions::Base, Fields::Base, Fields::Group, Model, Sections::Base
Defined in:
lib/rails_admin/config/proxyable.rb,
lib/rails_admin/config/proxyable/proxy.rb

Defined Under Namespace

Classes: Proxy

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#bindingsObject

Returns the value of attribute bindings.



5
6
7
# File 'lib/rails_admin/config/proxyable.rb', line 5

def bindings
  @bindings
end

Instance Method Details

#with(bindings = {}) ⇒ Object



7
8
9
# File 'lib/rails_admin/config/proxyable.rb', line 7

def with(bindings = {})
  RailsAdmin::Config::Proxyable::Proxy.new(self, bindings)
end