Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/upl/inter.rb
Instance Method Summary collapse
- #to_atom ⇒ Object
-
#to_term ⇒ Object
return a Term object from to_term_t.
-
#to_term_t ⇒ Object
return a term_t pointer.
Instance Method Details
#to_atom ⇒ Object
92 93 94 95 96 97 98 99 |
# File 'lib/upl/inter.rb', line 92 def to_atom if frozen? # TODO must check instance variable here _upl_atomize else @_upl_atom ||= _upl_atomize end end |
#to_term ⇒ Object
return a Term object from to_term_t
102 103 104 |
# File 'lib/upl/inter.rb', line 102 def to_term Upl::Term.new to_term_t end |
#to_term_t ⇒ Object
return a term_t pointer
107 108 109 110 111 112 113 114 115 |
# File 'lib/upl/inter.rb', line 107 def to_term_t if frozen? # TODO must check instance variable here _upl_termize else # @_upl_termize ||= _upl_termize _upl_termize end end |