Module: Pxs::Forms
- Defined in:
- lib/pxs/forms.rb,
lib/pxs/forms/version.rb,
lib/pxs/forms/links_helper.rb,
lib/pxs/forms/configuration.rb,
lib/pxs/forms/models_helper.rb
Defined Under Namespace
Modules: LinksHelper, ModelsHelper Classes: Configuration
Constant Summary collapse
- VERSION =
"0.1.4.12"
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
-
.configure {|configuration| ... } ⇒ Object
Expose the configuration.
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
12 13 14 |
# File 'lib/pxs/forms.rb', line 12 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
Expose the configuration
15 16 17 18 |
# File 'lib/pxs/forms.rb', line 15 def configure self.configuration ||= Configuration.new yield configuration if block_given? end |