Sha256: 505b10bcba282abc014771f09918494e84b8301fe564f51a4c673163c334ed89

Contents?: true

Size: 240 Bytes

Versions: 11

Compression:

Stored size: 240 Bytes

Contents

module Bar
  def bar
    :bar
  end
end

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

  include mod

  def foo
    :foo
  end
end

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

module Foo
  include Bar

  def foo: -> :foo
end

Version data entries

11 entries across 11 versions & 1 rubygems

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