Class: FFI::Tcl::Obj
Defined Under Namespace
Classes: InternalRep
Constant Summary
Constants inherited
from PrettyStruct
PrettyStruct::ACCESSOR_CODE
Instance Method Summary
collapse
layout
Instance Method Details
84
85
86
|
# File 'lib/ffi-tk/ffi/tcl/obj.rb', line 84
def inspect
"#<Obj bytes=%p type=%p>" % [self[:bytes], pretty_type]
end
|
#pretty_type ⇒ Object
80
81
82
|
# File 'lib/ffi-tk/ffi/tcl/obj.rb', line 80
def pretty_type
EvalResult::TYPES[type.to_i]
end
|