Sha256: 3d4077c622e13327b18c074da9de35ee42a90348efad66d5cf8f9ba3bdda0956

Contents?: true

Size: 237 Bytes

Versions: 3

Compression:

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

3 entries across 3 versions & 1 rubygems

Version Path
typeprof-0.9.2 smoke/wrong-extend.rb
typeprof-0.9.1 smoke/wrong-extend.rb
typeprof-0.9.0 smoke/wrong-extend.rb