lib/loaf/configuration.rb in loaf-0.2.1 vs lib/loaf/configuration.rb in loaf-0.3.0
- old
+ new
@@ -24,9 +24,14 @@
DEFAULT_CAPITALIZE = false
DEFAULT_ROOT = true
+ # Sets the Loaf configuration options. Best used by passing a block.
+ #
+ # Loaf.configure do |config|
+ # config.capitalize = true
+ # end
def configure
yield self
end
def self.extended(base)