Module: ERBWithHash
- Included in:
- ERB
- Defined in:
- lib/erb_with_hash.rb,
lib/erb_with_hash/version.rb
Defined Under Namespace
Classes: HashAsBinding
Constant Summary collapse
- VERSION =
"0.1.0"
Instance Method Summary collapse
Instance Method Details
#result_with_hash(hash) ⇒ Object
16 17 18 19 |
# File 'lib/erb_with_hash.rb', line 16 def result_with_hash(hash) b = create_binding_from_hash(hash) result(b) end |