Class: FFI::Tcl::Obj
- Inherits:
-
PrettyStruct
- Object
- Struct
- PrettyStruct
- FFI::Tcl::Obj
- Defined in:
- lib/ffi-tk/ffi/tcl/obj.rb
Defined Under Namespace
Classes: InternalRep
Constant Summary
Constants inherited from PrettyStruct
Instance Method Summary collapse
Methods inherited from PrettyStruct
Instance Method Details
#inspect ⇒ Object
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 |