configinfo

configinfo(key=nil)
Instance Public methods

def configure(key, val=None)

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)

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

doc_ruby_on_rails
2015-06-08 10:06:45
Comments
Leave a Comment

Please login to continue.