/macosx-10.10/ruby-106/ruby/test/socket/ |
H A D | test_udp.rb | 19 class << host; self end.send(:define_method, :to_str) { 31 class << host; self end.send(:define_method, :to_str) {
|
H A D | test_basicsocket.rb | 48 class << val; self end.send(:define_method, :to_str) {
|
/macosx-10.10/ruby-106/ruby/lib/webrick/ |
H A D | log.rb | 116 # * If +arg+ responds to #to_str, it will return it. 122 elsif arg.respond_to?(:to_str) 123 arg.to_str
|
/macosx-10.10/ruby-106/ruby/ext/json/lib/json/ |
H A D | common.rb | 13 if object.respond_to? :to_str 14 JSON.parse(object.to_str, opts) 325 if source.respond_to? :to_str 326 source = source.to_str 471 if object.respond_to? :to_str 472 JSON.parse(object.to_str, args.first)
|
/macosx-10.10/ruby-106/ruby/lib/rake/ |
H A D | dsl_definition.rb | 101 name = name.to_str if name.respond_to?(:to_str)
|
/macosx-10.10/ruby-106/ruby/test/rake/ |
H A D | test_rake_dsl.rb | 27 def name.to_str singleton method in class:test_namespace_command_with_a_string_like_object
|
/macosx-10.10/ruby-106/ruby/lib/rubygems/ |
H A D | command_manager.rb | 150 args = args.to_str.split(/\s+/) if args.respond_to?(:to_str)
|
H A D | requirement.rb | 54 if input.respond_to? :to_str then 55 new [input.to_str]
|
/macosx-10.10/ruby-106/ruby/test/dl/ |
H A D | test_cptr.rb | 31 assert_equal 3, ptr.to_str(3).length 32 assert_equal str, ptr.to_str 35 assert_equal "hello\0world", ptr.to_str
|
/macosx-10.10/ruby-106/ruby/test/fiddle/ |
H A D | test_pointer.rb | 41 assert_equal 3, ptr.to_str(3).length 42 assert_equal str, ptr.to_str 45 assert_equal "hello\0world", ptr.to_str
|
/macosx-10.10/ruby-106/ruby/test/ruby/ |
H A D | test_signal.rb | 134 def o.to_str; "SIGINT"; end singleton method in class:TestSignal.test_signal2 177 def o.to_str; "SIGINT"; end singleton method in class:TestSignal.test_signal2.test_trap
|
H A D | test_string.rb | 172 def o.to_str; "bar"; end singleton method in class:TestString.test_CMP 175 class << o;remove_method :to_str;end 203 def o.to_str; end singleton method in class:TestString.test_CMP.test_EQUAL 961 def o.to_str; "bar"; end singleton method in class:TestString.test_CMP.test_index 1119 def o.to_str; "bar"; end singleton method in class:TestString.test_CMP.test_index.test_rindex 1447 def o.to_str; "bar"; end singleton method in class:TestString.test_CMP.test_index.test_rindex.test_sub 1666 def o.to_str singleton method in class:TestString.test_CMP.test_index.test_rindex.test_sub.test_to_str 1672 def o.to_str singleton method in class:TestString.test_CMP.test_index.test_rindex.test_sub.test_to_str 1910 def to_str method in class:TestString.test_CMP.test_index.test_rindex.test_sub.StringLike 1954 def o.respond_to?(arg) [:to_str] 1955 def o.to_str() "" end singleton method in class:TestString.test_CMP.test_index.test_rindex.test_sub.test_respond_to 2042 def o.to_str; :foo; end singleton method in class:TestString.test_CMP.test_index.test_rindex.test_sub.test_respond_to.to_str.test_to_id 2048 def o.to_str; "foo"; end singleton method in class:TestString.test_CMP.test_index.test_rindex.test_sub.test_respond_to.to_str.test_to_id 2149 def foo.to_str singleton method in class:TestString.test_CMP.test_index.test_rindex.test_sub.test_respond_to.to_str.test_to_id.test_compare_different_encoding_string.test_symbol_table_overflow.test_prepend [all...] |
H A D | test_exception.rb | 535 def o.to_str singleton method in class:test_to_s_taintness_propagation 561 o.singleton_class.send(:define_method, :to_str) {
|
H A D | test_require.rb | 518 def a.to_str singleton method in class:test_require_not_modified_load_path 583 def a.to_str singleton method in class:test_require_to_str_redefined_in_load_path 592 def a.to_str singleton method in class:test_require_to_str_redefined_in_load_path
|
H A D | envutil.rb | 63 in_p.write stdin_data.to_str
|
H A D | test_rubyoptions.rb | 513 status = assert_in_out_err(['-e', 'class Bogus; def to_str; exit true; end; end',
|
H A D | test_assignment.rb | 557 return obj if obj.respond_to? :to_str 625 if lhs.respond_to? :to_str
|
/macosx-10.10/bind9-45.101/bind9/contrib/idn/idnkit-1.0-src/tools/idnconv/ |
H A D | idnconv.c | 686 char *to_str = strbuf_get(to); local 692 to_str, to_size); 696 to_str, to_size); 700 to_str, to_size); 704 to_str, to_size);
|
/macosx-10.10/ruby-106/ruby/lib/ |
H A D | open-uri.rb | 31 elsif name.respond_to?(:to_str) && 177 proxy_user = proxy_user.to_str 178 proxy_pass = proxy_pass.to_str
|
/macosx-10.10/ruby-106/ruby/lib/rexml/ |
H A D | source.rb | 16 elsif arg.respond_to? :to_str
|
/macosx-10.10/ruby-106/ruby/ |
H A D | vm_backtrace.c | 361 * #to_str 778 vm_backtrace_to_ary(rb_thread_t *th, int argc, VALUE *argv, int lev_default, int lev_plus, int to_str) argument 838 if (to_str) { 849 thread_backtrace_to_ary(int argc, VALUE *argv, VALUE thval, int to_str) argument 857 return vm_backtrace_to_ary(th, argc, argv, 0, 0, to_str);
|
/macosx-10.10/ruby-106/ruby/test/ruby/enc/ |
H A D | test_emoji.rb | 27 @codes.each do |to_enc, to_str| 29 assert_equal to_str, from_str.encode(to_enc), "convert from #{from_enc} to #{to_enc}"
|
/macosx-10.10/ruby-106/ruby/ext/pathname/lib/ |
H A D | pathname.rb | 18 TO_PATH = :to_str
|
/macosx-10.10/ruby-106/ruby/test/stringio/ |
H A D | test_stringio.rb | 374 def o.to_str; "z"; end singleton method in class:TestStringIO.test_write.test_write_nonblock.test_gets2
|
/macosx-10.10/ruby-106/ruby/test/minitest/ |
H A D | test_minitest_unit.rb | 984 def obj.to_str; "blah" end singleton method in class:test_assert_match_matchee_to_str
|