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