Class: Kosi::Align
- Inherits:
-
Object
- Object
- Kosi::Align
- Defined in:
- lib/kosi/align.rb
Overview
Align
Defined Under Namespace
Modules: TYPE
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
- #apply(text, max_value, diff) ⇒ Object
-
#initialize(options) ⇒ Align
constructor
A new instance of Align.
Constructor Details
#initialize(options) ⇒ Align
Returns a new instance of Align.
17 18 19 |
# File 'lib/kosi/align.rb', line 17 def initialize() @value = [OptionKeys::ALIGN] || TYPE::DEFAULT end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
8 9 10 |
# File 'lib/kosi/align.rb', line 8 def value @value end |