Class: PanicBoardData::ProgressBar

Inherits:
Object
  • Object
show all
Defined in:
lib/panic_board_data/progress_bar.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#valueObject

Returns the value of attribute value.



5
6
7
# File 'lib/panic_board_data/progress_bar.rb', line 5

def value
  @value
end

Instance Method Details

#to_sObject



7
8
9
# File 'lib/panic_board_data/progress_bar.rb', line 7

def to_s
  "<td class=\"projectsBars\">#{bars}</td>"
end