Class: Graphiti::Audit::Report::Cell
- Defined in:
- lib/graphiti/audit/report.rb
Instance Attribute Summary collapse
-
#painted ⇒ Object
Returns the value of attribute painted.
-
#raw ⇒ Object
Returns the value of attribute raw.
Instance Method Summary collapse
Instance Attribute Details
#painted ⇒ Object
Returns the value of attribute painted
21 22 23 |
# File 'lib/graphiti/audit/report.rb', line 21 def painted @painted end |
#raw ⇒ Object
Returns the value of attribute raw
21 22 23 |
# File 'lib/graphiti/audit/report.rb', line 21 def raw @raw end |
Instance Method Details
#pad_to(width) ⇒ Object
22 23 24 |
# File 'lib/graphiti/audit/report.rb', line 22 def pad_to(width) painted + " " * (width - raw.length) end |