Sha256: 5ef3da0383d4b2c49d1a50e063a61729dd0890e2290db4c072958a39fb55117f
Contents?: true
Size: 1.61 KB
Versions: 83
Compression:
Stored size: 1.61 KB
Contents
module MethodSpecs class Methods def foo true end alias bar foo attr_accessor :attr def zero; end def one_req(a); end def two_req(a, b); end def zero_with_block(&block); end def one_req_with_block(a, &block); end def two_req_with_block(a, b, &block); end def one_opt(a=nil); end def one_req_one_opt(a, b=nil); end def one_req_two_opt(a, b=nil, c=nil); end def two_req_one_opt(a, b, c=nil); end def one_opt_with_block(a=nil, &block); end def one_req_one_opt_with_block(a, b=nil, &block); end def one_req_two_opt_with_block(a, b=nil, c=nil, &block); end def two_req_one_opt_with_block(a, b, c=nil, &block); end def zero_with_splat(*a); end def one_req_with_splat(a, *b); end def two_req_with_splat(a, b, *c); end def one_req_one_opt_with_splat(a, b=nil, *c); end def two_req_one_opt_with_splat(a, b, c=nil, *d); end def one_req_two_opt_with_splat(a, b=nil, c=nil, *d); end def zero_with_splat_and_block(*a, &block); end def one_req_with_splat_and_block(a, *b, &block); end def two_req_with_splat_and_block(a, b, *c, &block); end def one_req_one_opt_with_splat_and_block(a, b=nil, *c, &block); end def two_req_one_opt_with_splat_and_block(a, b, c=nil, *d, &block); end def one_req_two_opt_with_splat_and_block(a, b=nil, c=nil, *d, &block); end end module MyMod def bar; :bar; end end class MySuper include MyMod end class MySub < MySuper; end class A def baz(a, b) self.class end end class B < A end class C < B end class D def bar() 'done' end end end
Version data entries
83 entries across 83 versions & 1 rubygems