Module: ConstructorIORails
- Defined in:
- lib/constructorio-rails/helper.rb,
lib/constructorio-rails.rb,
lib/constructorio-rails/fields.rb,
lib/constructorio-rails/railtie.rb,
lib/constructorio-rails/version.rb,
lib/constructorio-rails/configuration.rb
Overview
usage: <%= constructorio_autocomplete :dom_id => “search” %>
Defined Under Namespace
Modules: ClassMethods, Helper, InstanceMethods Classes: Configuration, Fields, Railtie
Constant Summary collapse
- VERSION =
"1.0.7"
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
- .configure {|configuration| ... } ⇒ Object
-
.included(base) ⇒ Object
This injects the methods on the included hook.
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
21 22 23 |
# File 'lib/constructorio-rails.rb', line 21 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
28 29 30 |
# File 'lib/constructorio-rails.rb', line 28 def self.configure yield(configuration) end |
.included(base) ⇒ Object
This injects the methods on the included hook
33 34 35 36 |
# File 'lib/constructorio-rails.rb', line 33 def self.included base base.send :include, InstanceMethods base.extend ClassMethods end |