Module: Toolsmith::ViewHelpers::DefinitionListForHelpers

Included in:
Toolsmith::ViewHelpers
Defined in:
lib/toolsmith/helpers/definition_list_for_helpers.rb

Instance Method Summary collapse

Instance Method Details

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



4
5
6
7
8
# File 'lib/toolsmith/helpers/definition_list_for_helpers.rb', line 4

def definition_list_for(object, options={}, &block)
  definition_list = Toolsmith::Views::DefinitionListFor.new_with_object(self, object, &block)
  definition_list.options.merge!(options)
  definition_list
end