Class: HDLRuby::High::Std::Board::HOOK
- Inherits:
-
Struct
- Object
- Struct
- HDLRuby::High::Std::Board::HOOK
- Defined in:
- lib/HDLRuby/ui/hruby_board.rb
Overview
Class describing a hook (invisible display element).
Instance Attribute Summary collapse
-
#hread ⇒ Object
Returns the value of attribute hread.
-
#id ⇒ Object
Returns the value of attribute id.
-
#size ⇒ Object
Returns the value of attribute size.
Instance Method Summary collapse
Instance Attribute Details
#hread ⇒ Object
Returns the value of attribute hread
87 88 89 |
# File 'lib/HDLRuby/ui/hruby_board.rb', line 87 def hread @hread end |
#id ⇒ Object
Returns the value of attribute id
87 88 89 |
# File 'lib/HDLRuby/ui/hruby_board.rb', line 87 def id @id end |
#size ⇒ Object
Returns the value of attribute size
87 88 89 |
# File 'lib/HDLRuby/ui/hruby_board.rb', line 87 def size @size end |
Instance Method Details
#to_html ⇒ Object
88 89 90 |
# File 'lib/HDLRuby/ui/hruby_board.rb', line 88 def to_html return "<div id=\"#{self.id}\" data-value=\"0\"/>\\n" end |