Module: Fencepost
- Defined in:
- lib/fencepost.rb,
lib/fencepost/gate.rb,
lib/fencepost/railtie.rb,
lib/fencepost/version.rb,
lib/fencepost/fencepost.rb,
lib/fencepost/configuration.rb,
lib/fencepost/acts_as_fencepost.rb
Defined Under Namespace
Modules: ActsAsFencepost Classes: Configuration, Fencepost, Gate, Railtie
Constant Summary collapse
- VERSION =
"0.3.0"
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration
9 10 11 |
# File 'lib/fencepost.rb', line 9 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
12 13 14 15 |
# File 'lib/fencepost.rb', line 12 def self.configure self.configuration ||= Configuration.new yield(configuration) end |