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



130
131
132
# File 'lib/HDLRuby/ui/hruby_board.rb', line 130

def id
  @id
end

Instance Method Details

#to_htmlObject



131
132
133
# File 'lib/HDLRuby/ui/hruby_board.rb', line 131

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