class Object
Public Instance Methods
children_for_tk_inspect()
click to toggle source
# File lib/base_inspectors.rb, line 14 def children_for_tk_inspect instance_variables.map { |v| [v, instance_variable_get(v)] }.to_h end
id_for_tk_inspect()
click to toggle source
# File lib/base_inspectors.rb, line 2 def id_for_tk_inspect object_id.to_s end
number_of_children_for_tk_inspect()
click to toggle source
# File lib/base_inspectors.rb, line 10 def number_of_children_for_tk_inspect instance_variables.size end
open_tk_console(b = binding, modal = true)
click to toggle source
# File lib/cli_support.rb, line 2 def open_tk_console(b = binding, modal = true) @@main_console ||= TkInspect::Console::Base.new(modal: modal) @@main_console.eval_binding = b @@main_console.focus modal ? @@main_console.modal_loop : Tk.mainloop end
Also aliased as: otkc
value_for_tk_inspect()
click to toggle source
# File lib/base_inspectors.rb, line 6 def value_for_tk_inspect to_s end