Module: ArFinderForm::ClientClassMethods
- Defined in:
- lib/ar_finder_form/client_class_methods.rb
Instance Attribute Summary collapse
-
#builder ⇒ Object
readonly
Returns the value of attribute builder.
Instance Method Summary collapse
- #find_options(value = nil) ⇒ Object
- #paginate_options(value = nil) ⇒ Object
- #with_model(model_class, &block) ⇒ Object
Instance Attribute Details
#builder ⇒ Object (readonly)
Returns the value of attribute builder.
4 5 6 |
# File 'lib/ar_finder_form/client_class_methods.rb', line 4 def builder @builder end |
Instance Method Details
#find_options(value = nil) ⇒ Object
12 13 14 15 |
# File 'lib/ar_finder_form/client_class_methods.rb', line 12 def (value = nil) @find_options = value if value @find_options ||= {} end |
#paginate_options(value = nil) ⇒ Object
17 18 19 20 |
# File 'lib/ar_finder_form/client_class_methods.rb', line 17 def (value = nil) @find_options = value if value @find_options ||= {} end |