Class: VER::Status::Separator

Inherits:
Tk::Tile::Separator
  • Object
show all
Defined in:
lib/ver/status/separator.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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, options = {})
  @status = status
  @weight = options.delete(:weight) || 0
  @row = options.delete(:row)
  @column = options.delete(:column)
  @sticky = options.delete(:sticky)

  super
end

Instance Attribute Details

#columnObject (readonly)

Returns the value of attribute column.



4
5
6
# File 'lib/ver/status/separator.rb', line 4

def column
  @column
end

#rowObject (readonly)

Returns the value of attribute row.



4
5
6
# File 'lib/ver/status/separator.rb', line 4

def row
  @row
end

#statusObject (readonly)

Returns the value of attribute status.



4
5
6
# File 'lib/ver/status/separator.rb', line 4

def status
  @status
end

#stickyObject (readonly)

Returns the value of attribute sticky.



4
5
6
# File 'lib/ver/status/separator.rb', line 4

def sticky
  @sticky
end

#weightObject (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