Test::Unit::TestCase
# File lib/ihelp.rb, line 1001 def no_warn old_w = $-w $-w = nil yield $-w = old_w end
# File lib/ihelp.rb, line 1008 def setup no_warn{ Object.const_set("ARGV", ["--readline", "--prompt-mode", "simple"]) } IHelp.instance_variable_set( :@ri_driver, IHelp::IHelpDriver.new([])) end
# File lib/ihelp.rb, line 1029 def test_class_help assert(String.help_yaml) end
# File lib/ihelp.rb, line 1037 def test_class_inherited_method_help assert(String.help_yaml(:map)) end
# File lib/ihelp.rb, line 1033 def test_class_method_help assert(String.help_yaml(:new)) end
# File lib/ihelp.rb, line 1055 def test_help_yamlings assert("string".help_yaml(:reverse) == help_yaml("String#reverse")) assert(String.help_yaml(:new) == help_yaml("String::new")) end
# File lib/ihelp.rb, line 1025 def test_inherited_method_help assert("string".help_yaml(:map)) end
# File lib/ihelp.rb, line 1048 def test_method_constraints assert((not "string".help_yaml(:new,true))) assert((not "string".help_yaml(:reverse,false))) assert((not String.help_yaml(:new,true))) assert((not String.help_yaml(:reverse,false))) end
# File lib/ihelp.rb, line 1041 def test_method_equalities assert(String.help_yaml(:new) == "string".help_yaml(:new)) assert(String.help_yaml(:reverse) == "string".help_yaml(:reverse)) end
# File lib/ihelp.rb, line 1021 def test_method_help assert("string".help_yaml(:reverse)) end
# File lib/ihelp.rb, line 1062 def test_multipart_namespaces assert(Test::Unit.help_yaml) assert(help_yaml("Test::Unit")) assert(Test::Unit.help_yaml("run?")) assert(help_yaml("Test::Unit.run?")) assert(help_yaml("Test::Unit::run?")) assert(help_yaml("Test::Unit#run?")) end
Generated with the Darkfish Rdoc Generator 2.