Class: DLDInternet::Formatters::Awesome
- Defined in:
- lib/dldinternet/formatters/awesome.rb
Overview
Awesome formatter
Instance Attribute Summary collapse
-
#format ⇒ Object
readonly
Returns the value of attribute format.
-
#object ⇒ Object
readonly
Returns the value of attribute object.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Attributes inherited from Basic
#columns, #is_a_hash, #options, #widths
Instance Method Summary collapse
- #format_it ⇒ Object
-
#initialize(obj, format, options) ⇒ Awesome
constructor
A new instance of Awesome.
Methods inherited from Basic
Constructor Details
#initialize(obj, format, options) ⇒ Awesome
14 15 16 |
# File 'lib/dldinternet/formatters/awesome.rb', line 14 def initialize(obj, format, ) super end |
Instance Attribute Details
#format ⇒ Object (readonly)
Returns the value of attribute format.
10 11 12 |
# File 'lib/dldinternet/formatters/awesome.rb', line 10 def format @format end |
#object ⇒ Object (readonly)
Returns the value of attribute object.
11 12 13 |
# File 'lib/dldinternet/formatters/awesome.rb', line 11 def object @object end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
12 13 14 |
# File 'lib/dldinternet/formatters/awesome.rb', line 12 def title @title end |
Instance Method Details
#format_it ⇒ Object
18 19 20 |
# File 'lib/dldinternet/formatters/awesome.rb', line 18 def format_it object.ai end |