Class: VER::Status::Separator
- Inherits:
-
Tk::Tile::Separator
- Object
- Tk::Tile::Separator
- VER::Status::Separator
- Defined in:
- lib/ver/status/separator.rb
Instance Attribute Summary collapse
-
#column ⇒ Object
readonly
Returns the value of attribute column.
-
#row ⇒ Object
readonly
Returns the value of attribute row.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#sticky ⇒ Object
readonly
Returns the value of attribute sticky.
-
#weight ⇒ Object
readonly
Returns the value of attribute weight.
Instance Method Summary collapse
-
#initialize(status, options = {}) ⇒ Separator
constructor
A new instance of Separator.
- #style=(conf) ⇒ Object
Constructor Details
#initialize(status, options = {}) ⇒ Separator
Returns a new instance of Separator.
6 7 8 9 10 11 12 13 14 |
# File 'lib/ver/status/separator.rb', line 6 def initialize(status, = {}) @status = status @weight = .delete(:weight) || 0 @row = .delete(:row) @column = .delete(:column) @sticky = .delete(:sticky) super end |
Instance Attribute Details
#column ⇒ Object (readonly)
Returns the value of attribute column.
4 5 6 |
# File 'lib/ver/status/separator.rb', line 4 def column @column end |
#row ⇒ Object (readonly)
Returns the value of attribute row.
4 5 6 |
# File 'lib/ver/status/separator.rb', line 4 def row @row end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
4 5 6 |
# File 'lib/ver/status/separator.rb', line 4 def status @status end |
#sticky ⇒ Object (readonly)
Returns the value of attribute sticky.
4 5 6 |
# File 'lib/ver/status/separator.rb', line 4 def sticky @sticky end |
#weight ⇒ Object (readonly)
Returns the value of attribute weight.
4 5 6 |
# File 'lib/ver/status/separator.rb', line 4 def weight @weight end |
Instance Method Details
#style=(conf) ⇒ Object
16 17 |
# File 'lib/ver/status/separator.rb', line 16 def style=(conf) end |