Method: TkVariable#to_proc
- Defined in:
- lib/tk/variable.rb
#to_proc ⇒ Object
930 931 932 933 934 935 936 937 938 |
# File 'lib/tk/variable.rb', line 930 def to_proc cmd = self.procedure if cmd.respond_to?(:call) cmd else # cmd is a String cmd.to_sym.to_proc end end |