Sha256: 9b4acf99b450d7903b6eb280a390e70ec2b8d733b87cb34b45baa2650c414aaa

Contents?: true

Size: 171 Bytes

Versions: 14

Compression:

Stored size: 171 Bytes

Contents

class C
  x = :x
  define_method(:foo) do
    x
  end
  define_method(:bar) do
    x
  end
end

C.new.foo

__END__
# Classes
class C
  def foo: -> :x
  def bar: -> :x
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
typeprof-0.20.0 smoke/define_method2.rb
typeprof-0.15.3 smoke/define_method2.rb
typeprof-0.15.2 smoke/define_method2.rb
typeprof-0.15.1 smoke/define_method2.rb
typeprof-0.15.0 smoke/define_method2.rb
typeprof-0.14.1 smoke/define_method2.rb
typeprof-0.14.0 smoke/define_method2.rb
typeprof-0.13.0 smoke/define_method2.rb
typeprof-0.12.0 smoke/define_method2.rb
typeprof-0.11.0 smoke/define_method2.rb
typeprof-0.10.0 smoke/define_method2.rb
typeprof-0.9.2 smoke/define_method2.rb
typeprof-0.9.1 smoke/define_method2.rb
typeprof-0.9.0 smoke/define_method2.rb