Class: HDLRuby::High::Std::Board::PROW

Inherits:
Struct
  • Object
show all
Defined in:
lib/HDLRuby/ui/hruby_board.rb

Overview

Class describing a new panel row.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



172
173
174
# File 'lib/HDLRuby/ui/hruby_board.rb', line 172

def id
  @id
end

Instance Method Details

#to_htmlObject



173
174
175
# File 'lib/HDLRuby/ui/hruby_board.rb', line 173

def to_html
  return '<div class="prow" id="' + self.id.to_s + '"></div>';
end