Sha256: 892be2a04b3afe43ba6a53cd62b8c6e83e550f6e068fccfcf3697f48f0559ba4

Contents?: true

Size: 238 Bytes

Versions: 11

Compression:

Stored size: 238 Bytes

Contents

module Bar
  def bar
    :bar
  end
end

module Foo
  mod = rand < 0.5 ? Bar : "Not module"

  extend mod

  def foo
    :foo
  end
end

__END__
# Classes
module Bar
  def bar: -> :bar
end

module Foo
  extend Bar

  def foo: -> :foo
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
typeprof-0.20.0 smoke/wrong-extend.rb
typeprof-0.15.3 smoke/wrong-extend.rb
typeprof-0.15.2 smoke/wrong-extend.rb
typeprof-0.15.1 smoke/wrong-extend.rb
typeprof-0.15.0 smoke/wrong-extend.rb
typeprof-0.14.1 smoke/wrong-extend.rb
typeprof-0.14.0 smoke/wrong-extend.rb
typeprof-0.13.0 smoke/wrong-extend.rb
typeprof-0.12.0 smoke/wrong-extend.rb
typeprof-0.11.0 smoke/wrong-extend.rb
typeprof-0.10.0 smoke/wrong-extend.rb