Class: FFI::Tcl::Obj
Constant Summary
Constants inherited
from PrettyStruct
PrettyStruct::ACCESSOR_CODE
Instance Method Summary
collapse
layout
Instance Method Details
59
60
61
|
# File 'lib/ffi-tk/ffi/tcl/obj.rb', line 59
def inspect
'#<Obj bytes=%p type=%p>' % [self[:bytes], pretty_type]
end
|
#pretty_type ⇒ Object
55
56
57
|
# File 'lib/ffi-tk/ffi/tcl/obj.rb', line 55
def pretty_type
EvalResult::TYPES[type.to_i]
end
|