hey thanks ....
its working now...
but when i tried.,
Time.methods
=> ["inspect", "private_class_method", "const_missing", "clone",
"method", "public_methods", "public_instance_methods",
"instance_variable_defined?", "method_defined?", "superclass", "equal?",
"freeze", "mktime", "included_modules", "const_get", "methods",
"respond_to?", "_load", "module_eval", "class_variables", "now", "dup",
"protected_instance_methods", "instance_variables",
"public_method_defined?", "__id__", "eql?", "object_id", "const_set",
"id", "at", "singleton_methods", "send", "class_eval", "taint", "utc",
"frozen?", "instance_variable_get", "include?",
"private_instance_methods", "__send__", "instance_of?",
"private_method_defined?", "to_a", "name", "autoload", "type", "new",
"<", "protected_methods", "instance_eval", "<=>", "display", "==", ">",
"===", "instance_method", "gm", "instance_variable_set", "kind_of?",
"extend", "protected_method_defined?", "const_defined?", ">=",
"ancestors", "to_s", "<=", "public_class_method", "allocate", "hash",
"class", "instance_methods", "tainted?", "=~", "private_methods",
"class_variable_defined?", "nil?", "local", "untaint", "times",
"constants", "is_a?", "autoload?"]
got only these & parse method is missing ...
but in my friends PC parse method is present..
how to do it,
without using require 'Time'??
···
--
Posted via http://www.ruby-forum.com/.