private Method

InstanceTag.options_with_prefix(position, options)

There's no documentation for this item.

Source Code

# File action_view/helpers/date_helper.rb, line 644
def options_with_prefix(position, options)
  prefix = "#{@object_name}"
  if options[:index]
    prefix << "[#{options[:index]}]"
  elsif @auto_index
    prefix << "[#{@auto_index}]"
  end
  options.merge(:prefix => "#{prefix}[#{@method_name}(#{position}i)]")
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.