Sha256: 13d58e87236880233158920951ec0088eb485e4703828a16c5f609488a5bb2c1

Contents?: true

Size: 239 Bytes

Versions: 13

Compression:

Stored size: 239 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

13 entries across 13 versions & 1 rubygems

Version Path
typeprof-0.8.0 smoke/wrong-extend.rb
typeprof-0.7.0 smoke/wrong-extend.rb
typeprof-0.6.1 smoke/wrong-extend.rb
typeprof-0.6.0 smoke/wrong-extend.rb
typeprof-0.5.4 smoke/wrong-extend.rb
typeprof-0.5.3 smoke/wrong-extend.rb
typeprof-0.5.2 smoke/wrong-extend.rb
typeprof-0.5.1 smoke/wrong-extend.rb
typeprof-0.5.0 smoke/wrong-extend.rb
typeprof-0.4.2 smoke/wrong-extend.rb
typeprof-0.4.1 smoke/wrong-extend.rb
typeprof-0.4.0 smoke/wrong-extend.rb
typeprof-0.3.0 smoke/wrong-extend.rb