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.



4840
4841
4842
# File 'lib/HDLRuby/hruby_high.rb', line 4840

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