Method: FormatR::Format#printFormatWithHash
- Defined in:
- lib/formatr.rb
#printFormatWithHash(aHash, io = @io) ⇒ Object
print the format given that the binding is a hash of values. This method will not call eval at all.
680 681 682 683 684 |
# File 'lib/formatr.rb', line 680 def printFormatWithHash (aHash, io = @io) useHash( true ) @binding = aHash printBodyFormat(io) end |