Class: Integer

Inherits:
Object show all
Defined in:
lib/upl/inter.rb

Instance Method Summary collapse

Instance Method Details

#to_term_tObject



148
149
150
151
152
# File 'lib/upl/inter.rb', line 148

def to_term_t
  rv = Upl::Extern.PL_put_int64 (term_t = Upl::Extern.PL_new_term_ref), self
  rv == 1 or raise "can't convert #{self} to term. Maybe too big."
  term_t
end