Module: Handlebarer
- Defined in:
- lib/handlebarer/engine.rb,
lib/handlebarer/source.rb,
lib/handlebarer/version.rb,
lib/handlebarer/compiler.rb,
lib/handlebarer/renderer.rb,
lib/handlebarer/template.rb,
lib/handlebarer/serialize.rb,
lib/handlebarer/configuration.rb
Defined Under Namespace
Modules: Renderer, Serialize, Source Classes: Compiler, Configuration, Engine, Template
Constant Summary collapse
- VERSION =
"0.0.3"
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
-
.configure {|config| ... } ⇒ Object
Configure Handlebarer.
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
3 4 5 |
# File 'lib/handlebarer/configuration.rb', line 3 def configuration @configuration end |
Class Method Details
.configure {|config| ... } ⇒ Object
Configure Handlebarer
13 14 15 16 |
# File 'lib/handlebarer/configuration.rb', line 13 def self.configure self.configuration ||= Configuration.new yield(configuration) end |