Class: ActionView::Helpers::FormBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/currency_select.rb

Overview

Form builder.

Instance Method Summary collapse

Instance Method Details

#currency_select(method, priority_currencies = nil, options = {}, html_options = {}) ⇒ Object



152
153
154
155
156
157
158
159
160
161
162
# File 'lib/currency_select.rb', line 152

def currency_select(
  method, priority_currencies = nil, options = {}, html_options = {}
)
  @template.currency_select(
    @object_name,
    method,
    priority_currencies,
    options.merge(object: @object),
    html_options
  )
end