Class: Erlash::StringFormatter
- Inherits:
-
TemplateFormatter
- Object
- TemplateFormatter
- Erlash::StringFormatter
- Defined in:
- lib/erlash/formatters/string_formatter.rb
Overview
ex: string
Instance Attribute Summary
Attributes inherited from TemplateFormatter
#formatter, #object, #opts, #output
Instance Method Summary collapse
Methods inherited from TemplateFormatter
call, format, #format_elem, #initialize, #safe_call
Constructor Details
This class inherits a constructor from Erlash::TemplateFormatter
Instance Method Details
#format ⇒ Object
4 5 6 |
# File 'lib/erlash/formatters/string_formatter.rb', line 4 def format "`#{object}`" end |