Jay McGavren's Journal

2010-03-28

@jaymcgavren: #ruby That prior one-liner calls every method it can on an integer, string, array, hash, and range. Use with caution on other objects!

less than 5 seconds ago via web

@jaymcgavren: #ruby -e'def f(o);o.methods.each{|n|m = o.method(n);puts %Q/#{m}:#{m[*[o]*m.arity.abs]}/ rescue 1};end;f 1;f "r";f [1]*9;f({:a=>1});f 1..9'

2 minutes ago via web

#<Method: Fixnum#%>:0
#<Method: Fixnum(Kernel)#inspect>:1
#<Method: Fixnum#<<>:2
#<Method: Fixnum#&>:1
#<Method: Fixnum#>>>:0
#<Method: Fixnum(Integer)#round>:1
#<Method: Fixnum(Kernel)#public_methods>:%inspect<<singleton_method_added&clone>>methodroundpublic_methodsinstance_variable_defined?divmodequal?freezeinteger?chr*+to_imethodsrespond_to?-uptobetween?prectruncate/dupinstance_variables__id__moduloobject_idsucc|eql?zero?~idto_fsingleton_methodssendprec_itaintstepto_intfrozen?instance_variable_get__send__^instance_of?remainderto_a+@nonzero?-@type**floor<protected_methods<=>instance_eval==prec_fquo>display===downtoid2namesizeinstance_variable_setkind_of?absextend>=nextto_s<=coercehashceilclasstainted?=~private_methodsdivnil?untainttimesto_sym[]is_a?
#<Method: Fixnum#divmod>:10
#<Method: Fixnum(Kernel)#equal?>:true
#<Method: Fixnum(Kernel)#freeze>:1
#<Method: Fixnum(Integer)#integer?>:true
#<Method: Fixnum(Integer)#chr>:
#<Method: Fixnum#*>:1
#<Method: Fixnum#+>:2
#<Method: Fixnum(Integer)#to_i>:1
#<Method: Fixnum(Kernel)#methods>:%inspect<<singleton_method_added&clone>>methodroundpublic_methodsinstance_variable_defined?divmodequal?freezeinteger?chr*+to_imethodsrespond_to?-uptobetween?prectruncate/dupinstance_variables__id__moduloobject_idsucc|eql?zero?~idto_fsingleton_methodssendprec_itaintstepto_intfrozen?instance_variable_get__send__^instance_of?remainderto_a+@nonzero?-@type**floor<protected_methods<=>instance_eval==prec_fquo>display===downtoid2namesizeinstance_variable_setkind_of?absextend>=nextto_s<=coercehashceilclasstainted?=~private_methodsdivnil?untainttimesto_sym[]is_a?
#<Method: Fixnum#->:0
#<Method: Fixnum(Comparable)#between?>:true
#<Method: Fixnum(Integer)#truncate>:1
#<Method: Fixnum#/>:1
#<Method: Fixnum(Kernel)#instance_variables>:
#<Method: Fixnum(Kernel)#__id__>:3
#<Method: Fixnum#modulo>:0
#<Method: Fixnum(Kernel)#object_id>:3
#<Method: Fixnum(Integer)#succ>:2
#<Method: Fixnum#|>:1
#<Method: Fixnum(Numeric)#eql?>:true
#<Method: Fixnum#zero?>:false
#<Method: Fixnum#~>:-2
#<Method: Fixnum(Kernel)#id>:3
#<Method: Fixnum#to_f>:1.0
#<Method: Fixnum(Kernel)#singleton_methods>:
#<Method: Fixnum(Precision)#prec_i>:1
#<Method: Fixnum(Kernel)#taint>:1
#<Method: Fixnum(Integer)#to_int>:1
#<Method: Fixnum(Kernel)#frozen?>:false
#<Method: Fixnum#^>:0
#<Method: Fixnum(Numeric)#remainder>:0
#<Method: Fixnum(Kernel)#to_a>:1
#<Method: Fixnum(Numeric)#+@>:1
#<Method: Fixnum(Numeric)#nonzero?>:1
#<Method: Fixnum#-@>:-1
#<Method: Fixnum(Kernel)#type>:Fixnum
#<Method: Fixnum#**>:1
#<Method: Fixnum(Integer)#floor>:1
#<Method: Fixnum#<>:false
#<Method: Fixnum(Kernel)#protected_methods>:
#<Method: Fixnum#<=>>:0
#<Method: Fixnum#==>:true
#<Method: Fixnum(Precision)#prec_f>:1.0
#<Method: Fixnum#quo>:1.0
#<Method: Fixnum#>>:false
#<Method: Fixnum(Kernel)#===>:true
#<Method: Fixnum#id2name>:
#<Method: Fixnum#size>:4
#<Method: Fixnum#abs>:1
#<Method: Fixnum#>=>:true
#<Method: Fixnum(Integer)#next>:2
#<Method: Fixnum#<=>:true
#<Method: Fixnum(Numeric)#coerce>:11
#<Method: Fixnum(Kernel)#hash>:3
#<Method: Fixnum(Integer)#ceil>:1
#<Method: Fixnum(Kernel)#class>:Fixnum
#<Method: Fixnum(Kernel)#tainted?>:false
#<Method: Fixnum(Kernel)#=~>:false
#<Method: Fixnum(Kernel)#private_methods>:selectglobal_variablesreadlinewarninitializegsubexit!method_missingexecabortloadremove_instance_variablechomp!printevalprocuntrace_varsrandIntegerlocal_variablessingleton_method_removedreadlinesraisechopgetcsystemat_exitputcrequireset_trace_funcrandtestlambdaFloatpinitialize_copysingleton_method_undefinedchompfailcallccsub!syscallsleepiterator?catchautoloadputs`Stringsprintfsplitcallerfgsub!openblock_given?throwgetstrapsubloopArrayforkformatexitprintfchop!trace_varscanautoload?binding
#<Method: Fixnum#div>:1
#<Method: Fixnum(Kernel)#nil?>:false
#<Method: Fixnum(Kernel)#untaint>:1
#<Method: Fixnum#to_sym>:
#<Method: Fixnum#[]>:0
#<Method: String#%>:r
#<Method: String#inspect>:"r"
#<Method: String#<<>:rr
#<Method: String(Kernel)#clone>:rr
#<Method: String#casecmp>:0
#<Method: String(Kernel)#public_methods>:%select[]=inspect<<each_byteclonemethodgsubcasecmppublic_methodsto_strpartitiontr_sempty?instance_variable_defined?tr!equal?freezerstrip*matchgrepchomp!+next!swapcaseljustto_iswapcase!methodsrespond_to?uptobetween?rejectsumhexdupinsertreverse!chopinstance_variablesdeletedump__id__tr_s!concatmember?object_idsuccfindeql?each_with_indexstrip!idrjustto_fsingleton_methodssendindexcollectoctall?slicetaintlengthentrieschompfrozen?instance_variable_getupcasesub!squeezeinclude?__send__instance_of?upcase!cryptdelete!detectto_aunpackziplstrip!typecenter<protected_methodsinstance_evalmap<=>rindexdisplayany?==>split===stripsizesortinstance_variable_setgsub!countsucc!downcaseminkind_of?extendsqueeze!downcase!intern>=nextfind_allto_s<=each_lineeachrstrip!classslice!hashsubtainted?private_methodsreplaceinject=~trreversenil?untaintsort_bylstripto_symcapitalizemaxchop!is_a?capitalize!scan[]
#<Method: String#to_str>:rr
#<Method: String#tr_s>:r
#<Method: String#empty?>:false
#<Method: String#tr!>:rr
#<Method: String(Kernel)#equal?>:true
#<Method: String(Kernel)#freeze>:rr
#<Method: String#rstrip>:rr
#<Method: String#match>:rr
#<Method: String(Enumerable)#grep>:rr
#<Method: String#+>:rrrr
#<Method: String#swapcase>:RR
#<Method: String(Kernel)#methods>:%select[]=inspect<<each_byteclonemethodgsubcasecmppublic_methodsto_strpartitiontr_sempty?instance_variable_defined?tr!equal?freezerstrip*matchgrepchomp!+next!swapcaseljustto_iswapcase!methodsrespond_to?uptobetween?rejectsumhexdupinsertreverse!chopinstance_variablesdeletedump__id__tr_s!concatmember?object_idsuccfindeql?each_with_indexstrip!idrjustto_fsingleton_methodssendindexcollectoctall?slicetaintlengthentrieschompfrozen?instance_variable_getupcasesub!squeezeinclude?__send__instance_of?upcase!cryptdelete!detectto_aunpackziplstrip!typecenter<protected_methodsinstance_evalmap<=>rindexdisplayany?==>split===stripsizesortinstance_variable_setgsub!countsucc!downcaseminkind_of?extendsqueeze!downcase!intern>=nextfind_allto_s<=each_lineeachrstrip!classslice!hashsubtainted?private_methodsreplaceinject=~trreversenil?untaintsort_bylstripto_symcapitalizemaxchop!is_a?capitalize!scan[]
#<Method: String(Kernel)#respond_to?>:false
#<Method: String(Comparable)#between?>:true
#<Method: String#hex>:0
#<Method: String(Kernel)#dup>:rr
#<Method: String#chop>:r
#<Method: String(Kernel)#instance_variables>:
#<Method: String#delete>:
#<Method: String#dump>:"rr"
#<Method: String(Kernel)#__id__>:83770
#<Method: String(Enumerable)#member?>:true
#<Method: String(Kernel)#object_id>:83770
#<Method: String#succ>:rs
#<Method: String#eql?>:true
#<Method: String#strip!>:
#<Method: String(Kernel)#id>:83770
#<Method: String#to_f>:0.0
#<Method: String(Kernel)#singleton_methods>:
#<Method: String#index>:0
#<Method: String(Enumerable)#collect>:rr
#<Method: String#oct>:0
#<Method: String(Enumerable)#all?>:true
#<Method: String#slice>:rr
#<Method: String#length>:2
#<Method: String(Enumerable)#entries>:rr
#<Method: String#chomp>:
#<Method: String(Kernel)#frozen?>:true
#<Method: String#upcase>:RR
#<Method: String#squeeze>:r
#<Method: String#include?>:true
#<Method: String#crypt>:rrZLzx/bWWys2
#<Method: String(Enumerable)#to_a>:rr
#<Method: String#unpack>:
#<Method: String(Enumerable)#zip>:rrrr
#<Method: String#lstrip!>:
#<Method: String(Kernel)#type>:String
#<Method: String(Comparable)#<>:false
#<Method: String(Kernel)#protected_methods>:
#<Method: String(Enumerable)#map>:rr
#<Method: String#<=>>:0
#<Method: String#rindex>:0
#<Method: String(Enumerable)#any?>:true
#<Method: String#==>:true
#<Method: String(Comparable)#>>:false
#<Method: String#split>:
#<Method: String(Kernel)#===>:true
#<Method: String#strip>:rr
#<Method: String#size>:2
#<Method: String(Enumerable)#sort>:rr
#<Method: String#count>:2
#<Method: String#downcase>:rr
#<Method: String(Enumerable)#min>:rr
#<Method: String#intern>:rr
#<Method: String(Comparable)#>=>:true
#<Method: String#next>:rs
#<Method: String#to_s>:rr
#<Method: String(Comparable)#<=>:true
#<Method: String#rstrip!>:
#<Method: String(Kernel)#class>:String
#<Method: String#hash>:7712100
#<Method: String(Kernel)#tainted?>:false
#<Method: String(Kernel)#private_methods>:global_variablesreadlinewarnsingleton_method_addedinitializeexit!method_missingexecabortloadremove_instance_variableprintevalprocuntrace_varsrandIntegerlocal_variablessingleton_method_removedreadlinesraisegetcsystemat_exitputcrequireset_trace_funcrandtestlambdaFloatpsingleton_method_undefinedinitialize_copyfailcallccsyscallsleepiterator?catchautoloadputs`Stringsprintfcallerfopenblock_given?throwgetstraploopArrayforkformatexitprintftrace_varautoload?binding
#<Method: String#replace>:rr
#<Method: String#tr>:rr
#<Method: String#reverse>:rr
#<Method: String(Kernel)#nil?>:false
#<Method: String(Kernel)#untaint>:rr
#<Method: String#lstrip>:rr
#<Method: String#to_sym>:rr
#<Method: String#capitalize>:Rr
#<Method: String(Enumerable)#max>:rr
#<Method: String#scan>:rr
#<Method: String#[]>:rr
#<Method: Array#inspect>:[1, 1, 1, 1, 1, 1, 1, 1, 1]
#<Method: Array#compact>:111111111
#<Method: Array#<<>:111111111111111111[...]
#<Method: Array#&>:1111111111111111111[...]
#<Method: Array(Kernel)#clone>:111111111111111111111111111[...]
#<Method: Array(Kernel)#public_methods>:select[]=inspectcompact<<&clonemethodlastpublic_methodspartitionempty?delete_ifinstance_variable_defined?equal?freezeeach_index*grep+sort!assocto_arymethodsrespond_to?-rejectpushinsertreverse!dupdeleteinstance_variablesconcatmember?__id__object_idpackreverse_each|findeql?joincollect!rassoceach_with_indexidatcompact!singleton_methodsindexcollectsendreject!flattenall?slicetaintpoplengthentriesinstance_variable_gettransposefrozen?include?__send__instance_of?detectto_aindexesuniqzipmap!typefetchprotected_methodsinstance_evalmap<=>values_atrindexany?==display===shiftsizesortinstance_variable_setclearminkind_of?extendindicesfind_allto_seachclassslice!firsthashflatten!tainted?delete_atreplaceinject=~private_methodsnitemsreversenil?untaintunshiftsort_byfillmaxis_a?uniq![]
#<Method: Array#empty?>:false
#<Method: Array(Kernel)#equal?>:true
#<Method: Array(Kernel)#freeze>:111111111111111111[...]
#<Method: Array(Enumerable)#grep>:111111111111111111[...]
#<Method: Array#+>:111111111111111111111111111[...]111111111111111111111111111[...]
#<Method: Array#assoc>:
#<Method: Array#to_ary>:111111111111111111[...]
#<Method: Array(Kernel)#methods>:select[]=inspectcompact<<&clonemethodlastpublic_methodspartitionempty?delete_ifinstance_variable_defined?equal?freezeeach_index*grep+sort!assocto_arymethodsrespond_to?-rejectpushinsertreverse!dupdeleteinstance_variablesconcatmember?__id__object_idpackreverse_each|findeql?joincollect!rassoceach_with_indexidatcompact!singleton_methodsindexcollectsendreject!flattenall?slicetaintpoplengthentriesinstance_variable_gettransposefrozen?include?__send__instance_of?detectto_aindexesuniqzipmap!typefetchprotected_methodsinstance_evalmap<=>values_atrindexany?==display===shiftsizesortinstance_variable_setclearminkind_of?extendindicesfind_allto_seachclassslice!firsthashflatten!tainted?delete_atreplaceinject=~private_methodsnitemsreversenil?untaintunshiftsort_byfillmaxis_a?uniq![]
#<Method: Array#->:
#<Method: Array#insert>:111111111111111111[...]
#<Method: Array(Kernel)#dup>:111111111111111111111111111[...]
#<Method: Array(Kernel)#instance_variables>:
#<Method: Array(Enumerable)#member?>:true
#<Method: Array(Kernel)#__id__>:53800
#<Method: Array(Kernel)#object_id>:53800
#<Method: Array#|>:1111111111111111111[...]
#<Method: Array#eql?>:true
#<Method: Array#rassoc>:
#<Method: Array(Kernel)#id>:53800
#<Method: Array(Kernel)#singleton_methods>:
#<Method: Array#index>:9
#<Method: Array#collect>:111111111111111111111111111[...]
#<Method: Array(Enumerable)#all?>:true
#<Method: Array#length>:10
#<Method: Array(Enumerable)#entries>:111111111111111111111111111[...]
#<Method: Array#frozen?>:true
#<Method: Array#include?>:true
#<Method: Array#to_a>:111111111111111111[...]
#<Method: Array#uniq>:1111111111111111111[...]
#<Method: Array#zip>:111111111111111111111111111111111111[...]111111111111111111[...]
#<Method: Array(Kernel)#type>:Array
#<Method: Array(Kernel)#protected_methods>:
#<Method: Array#map>:111111111111111111111111111[...]
#<Method: Array#<=>>:0
#<Method: Array#rindex>:9
#<Method: Array(Enumerable)#any?>:true
#<Method: Array#==>:true
#<Method: Array(Kernel)#===>:true
#<Method: Array#size>:10
#<Method: Array#to_s>:111111111111111111[...]
#<Method: Array(Kernel)#class>:Array
#<Method: Array#hash>:11266
#<Method: Array(Kernel)#tainted?>:false
#<Method: Array(Kernel)#=~>:false
#<Method: Array(Kernel)#private_methods>:global_variablesreadlinewarnsingleton_method_addedinitializegsubexit!method_missingexecabortloadremove_instance_variablechomp!printevalprocuntrace_varsrandIntegerlocal_variablessingleton_method_removedreadlinesraisechopgetcsystemat_exitputcrequireset_trace_funcrandtestlambdaFloatpinitialize_copysingleton_method_undefinedchompfailcallccsub!syscallsleepiterator?catchautoloadputs`Stringsprintfsplitcallerfgsub!openblock_given?throwgetstrapsubloopArrayforkformatexitprintfchop!trace_varscanautoload?binding
#<Method: Array#nitems>:10
#<Method: Array#reverse>:111111111111111111[...]111111111
#<Method: Array(Kernel)#nil?>:false
#<Method: Array(Kernel)#untaint>:111111111111111111[...]
#<Method: Hash#[]=>:a1{...}{...}
#<Method: Hash#inspect>:{:a=>1, {...}=>{...}}
#<Method: Hash(Kernel)#clone>:a1a1{...}{...}a1{...}{...}
#<Method: Hash(Kernel)#public_methods>:select[]=inspectcloneeach_pairmethodpublic_methodspartitionmerge!empty?delete_ifinstance_variable_defined?equal?freezemergegrepstoremethodsrespond_to?rejectdupvaluesdeleteinstance_variablesdefaultmember?__id__object_idfindeql?each_with_indexdefault=iddefault_procindexcollectsingleton_methodssendreject!all?taintlengthentriesinvertfrozen?has_key?instance_variable_getinclude?__send__instance_of?detectto_aindexesziptypeeach_valuefetchprotected_methodsinstance_evalmapvalues_atany?==display===updateshiftsizesortinstance_variable_sethas_value?clearminkind_of?extendrehashindicesfind_allto_skey?eachhashclasseach_keyreplaceinjecttainted?keys=~private_methodsnil?sort_byuntaintmaxvalue?to_hash[]is_a?
#<Method: Hash#merge!>:a1{...}{...}
#<Method: Hash#empty?>:false
#<Method: Hash(Kernel)#equal?>:true
#<Method: Hash(Kernel)#freeze>:a1{...}{...}
#<Method: Hash#merge>:a1a1{...}{...}a1{...}{...}
#<Method: Hash(Enumerable)#grep>:
#<Method: Hash(Kernel)#methods>:select[]=inspectcloneeach_pairmethodpublic_methodspartitionmerge!empty?delete_ifinstance_variable_defined?equal?freezemergegrepstoremethodsrespond_to?rejectdupvaluesdeleteinstance_variablesdefaultmember?__id__object_idfindeql?each_with_indexdefault=iddefault_procindexcollectsingleton_methodssendreject!all?taintlengthentriesinvertfrozen?has_key?instance_variable_getinclude?__send__instance_of?detectto_aindexesziptypeeach_valuefetchprotected_methodsinstance_evalmapvalues_atany?==display===updateshiftsizesortinstance_variable_sethas_value?clearminkind_of?extendrehashindicesfind_allto_skey?eachhashclasseach_keyreplaceinjecttainted?keys=~private_methodsnil?sort_byuntaintmaxvalue?to_hash[]is_a?
#<Method: Hash(Kernel)#dup>:a1a1{...}{...}a1{...}{...}
#<Method: Hash#values>:1a1{...}{...}
#<Method: Hash(Kernel)#instance_variables>:
#<Method: Hash#default>:
#<Method: Hash#member?>:true
#<Method: Hash(Kernel)#__id__>:53700
#<Method: Hash(Kernel)#object_id>:53700
#<Method: Hash(Kernel)#eql?>:true
#<Method: Hash(Kernel)#id>:53700
#<Method: Hash#default_proc>:
#<Method: Hash#index>:a1{...}{...}
#<Method: Hash(Enumerable)#collect>:a1a1{...}{...}a1{...}{...}
#<Method: Hash(Kernel)#singleton_methods>:
#<Method: Hash(Enumerable)#all?>:true
#<Method: Hash#length>:2
#<Method: Hash(Enumerable)#entries>:a1a1{...}{...}a1{...}{...}
#<Method: Hash#invert>:1aa1{...}{...}a1{...}{...}
#<Method: Hash(Kernel)#frozen?>:true
#<Method: Hash#has_key?>:true
#<Method: Hash#include?>:true
#<Method: Hash#to_a>:a1a1{...}{...}a1{...}{...}
#<Method: Hash#indexes>:a1{...}{...}
#<Method: Hash(Enumerable)#zip>:a1a1a1{...}{...}a1{...}{...}a1{...}{...}a1{...}{...}
#<Method: Hash(Kernel)#type>:Hash
#<Method: Hash#fetch>:a1{...}{...}
#<Method: Hash(Kernel)#protected_methods>:
#<Method: Hash(Enumerable)#map>:a1a1{...}{...}a1{...}{...}
#<Method: Hash#values_at>:a1{...}{...}
#<Method: Hash(Enumerable)#any?>:true
#<Method: Hash#==>:true
#<Method: Hash(Kernel)#===>:true
#<Method: Hash#size>:2
#<Method: Hash#has_value?>:true
#<Method: Hash#indices>:a1{...}{...}
#<Method: Hash#to_s>:a1{...}{...}
#<Method: Hash#key?>:true
#<Method: Hash(Kernel)#hash>:53700
#<Method: Hash(Kernel)#class>:Hash
#<Method: Hash#replace>:a1{...}{...}
#<Method: Hash(Kernel)#tainted?>:false
#<Method: Hash#keys>:aa1{...}{...}
#<Method: Hash(Kernel)#=~>:false
#<Method: Hash(Kernel)#private_methods>:global_variablesreadlinewarninitializesingleton_method_addedgsubexit!method_missingexecabortloadremove_instance_variablechomp!printevalprocuntrace_varsrandIntegerlocal_variablessingleton_method_removedreadlinesraisechopgetcsystemat_exitputcrequireset_trace_funcrandtestlambdaFloatpinitialize_copysingleton_method_undefinedchompfailcallccsub!syscallsleepiterator?catchautoloadputs`Stringsprintfsplitcallerfgsub!openblock_given?throwgetstrapsubloopArrayforkformatexitprintfchop!trace_varscanautoload?binding
#<Method: Hash(Kernel)#nil?>:false
#<Method: Hash(Kernel)#untaint>:a1{...}{...}
#<Method: Hash#value?>:true
#<Method: Hash#to_hash>:a1{...}{...}
#<Method: Hash#[]>:a1{...}{...}
#<Method: Range#inspect>:1..9
#<Method: Range(Kernel)#clone>:1..9
#<Method: Range#begin>:1
#<Method: Range#last>:9
#<Method: Range(Kernel)#public_methods>:selectinspectclonemethodbeginlastpartitionpublic_methodsinstance_variable_defined?equal?freezegrepexclude_end?methodsrespond_to?rejectenddupinstance_variablesmember?__id__object_idfindeql?each_with_indexidcollectsingleton_methodssendall?entriestaintstepfrozen?instance_variable_getinclude?__send__instance_of?detectto_aziptypeprotected_methodsmapinstance_evalany?==display===sortinstance_variable_setminkind_of?extendfind_allto_seachfirsthashclassinjecttainted?=~private_methodssort_bynil?untaintmaxis_a?
#<Method: Range(Kernel)#equal?>:true
#<Method: Range(Kernel)#freeze>:1..9
#<Method: Range(Enumerable)#grep>:123456789
#<Method: Range#exclude_end?>:false
#<Method: Range(Kernel)#methods>:selectinspectclonemethodbeginlastpartitionpublic_methodsinstance_variable_defined?equal?freezegrepexclude_end?methodsrespond_to?rejectenddupinstance_variablesmember?__id__object_idfindeql?each_with_indexidcollectsingleton_methodssendall?entriestaintstepfrozen?instance_variable_getinclude?__send__instance_of?detectto_aziptypeprotected_methodsmapinstance_evalany?==display===sortinstance_variable_setminkind_of?extendfind_allto_seachfirsthashclassinjecttainted?=~private_methodssort_bynil?untaintmaxis_a?
#<Method: Range#end>:9
#<Method: Range(Kernel)#dup>:1..9
#<Method: Range(Kernel)#instance_variables>:
#<Method: Range#member?>:false
#<Method: Range(Kernel)#__id__>:83840
#<Method: Range(Kernel)#object_id>:83840
#<Method: Range#eql?>:true
#<Method: Range(Kernel)#id>:83840
#<Method: Range(Enumerable)#collect>:123456789
#<Method: Range(Kernel)#singleton_methods>:
#<Method: Range(Enumerable)#all?>:true
#<Method: Range(Enumerable)#entries>:123456789
#<Method: Range(Kernel)#frozen?>:true
#<Method: Range#include?>:false
#<Method: Range(Enumerable)#to_a>:123456789
#<Method: Range(Enumerable)#zip>:112233445566778899
#<Method: Range(Kernel)#type>:Range
#<Method: Range(Kernel)#protected_methods>:
#<Method: Range(Enumerable)#map>:123456789
#<Method: Range(Enumerable)#any?>:true
#<Method: Range#==>:true
#<Method: Range#===>:false
#<Method: Range(Enumerable)#sort>:123456789
#<Method: Range(Enumerable)#min>:1
#<Method: Range#to_s>:1..9
#<Method: Range#first>:1
#<Method: Range#hash>:19982
#<Method: Range(Kernel)#class>:Range
#<Method: Range(Kernel)#tainted?>:false
#<Method: Range(Kernel)#=~>:false
#<Method: Range(Kernel)#private_methods>:global_variablesreadlinewarninitializesingleton_method_addedgsubexit!method_missingexecabortloadremove_instance_variablechomp!printevalprocuntrace_varsrandIntegerlocal_variablessingleton_method_removedreadlinesraisechopgetcsystemat_exitputcrequireset_trace_funcrandtestlambdaFloatpinitialize_copysingleton_method_undefinedchompfailcallccsub!syscallsleepiterator?catchautoloadputs`Stringsprintfsplitfcallergsub!openblock_given?throwgetstrapsubloopArrayforkformatexitprintfchop!trace_varscanautoload?binding
#<Method: Range(Kernel)#nil?>:false
#<Method: Range(Kernel)#untaint>:1..9
#<Method: Range(Enumerable)#max>:9
comments powered by Disqus