Module: HDLRuby::High::HStatement
Overview
Module giving high-level statement properties
Instance Method Summary collapse
-
#hif(condition) ⇒ Object
Creates a new if statement with a +condition+ enclosing the statement.
Instance Method Details
#hif(condition) ⇒ Object
Creates a new if statement with a +condition+ enclosing the statement.
NOTE: the else part is defined through the helse method.
1984 1985 1986 1987 |
# File 'lib/HDLRuby/hruby_high.rb', line 1984 def hif(condition) # Creates the if statement. return If.new(condition) { self } end |