configinfo(key=nil)
Instance Public methods
def configure(key, val=None)
1 2 3 4 5 | if key.kind_of?( Hash ) tk_call @t .path, 'tag' , 'configure' , @id , *hash_kv(key) else tk_call @t .path, 'tag' , 'configure' , @id , "-#{key}" , val end |
end def configure(key, value)
1 2 3 4 5 6 | if value == FALSE value = "0" elsif value.kind_of?( Proc ) value = install_cmd(value) end tk_call @t .path, 'tag' , 'configure' , @id , "-#{key}" , value |
end
Please login to continue.