Class: TrueClass

Inherits:
Object
  • Object
show all
Defined in:
lib/HDLRuby/hruby_high.rb

Overview

Extends the TrueClass class for computing for conversion to expression.

Instance Method Summary collapse

Instance Method Details

#to_exprObject

Converts to a new high-level expression.



4883
4884
4885
# File 'lib/HDLRuby/hruby_high.rb', line 4883

def to_expr
    return Value.new(Integer,1)
end