Class: BaseLine
- Inherits:
-
Object
- Object
- BaseLine
- Defined in:
- lib/spacify.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#attribute_padding_by_name ⇒ Object
Returns the value of attribute attribute_padding_by_name.
-
#attribute_sort_order ⇒ Object
Returns the value of attribute attribute_sort_order.
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ BaseLine
constructor
A new instance of BaseLine.
- #parse? ⇒ Boolean
- #sort_with(hash) ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(data) ⇒ BaseLine
Returns a new instance of BaseLine.
12 13 14 |
# File 'lib/spacify.rb', line 12 def initialize data @data = data end |
Instance Attribute Details
#attribute_padding_by_name ⇒ Object
Returns the value of attribute attribute_padding_by_name.
11 12 13 |
# File 'lib/spacify.rb', line 11 def attribute_padding_by_name @attribute_padding_by_name end |
#attribute_sort_order ⇒ Object
Returns the value of attribute attribute_sort_order.
11 12 13 |
# File 'lib/spacify.rb', line 11 def attribute_sort_order @attribute_sort_order end |
#data ⇒ Object (readonly)
Returns the value of attribute data.
10 11 12 |
# File 'lib/spacify.rb', line 10 def data @data end |
Instance Method Details
#parse? ⇒ Boolean
16 17 18 |
# File 'lib/spacify.rb', line 16 def parse? false end |
#sort_with(hash) ⇒ Object
24 25 26 |
# File 'lib/spacify.rb', line 24 def sort_with hash nil end |
#to_s ⇒ Object
20 21 22 |
# File 'lib/spacify.rb', line 20 def to_s @data end |