Module: AttributesFor::Rails::AttributesForHelper

Defined in:
app/helpers/attributes_for/rails/attributes_for_helper.rb

Defined Under Namespace

Classes: AttributeBuilder

Instance Method Summary collapse

Instance Method Details

#attributes_for(object, options = {}, &block) ⇒ Object



5
6
7
# File 'app/helpers/attributes_for/rails/attributes_for_helper.rb', line 5

def attributes_for(object, options = {}, &block)
  capture AttributeBuilder.new(object, self, options), &block
end