Sha256: 109ed780eeecb71eb1e8c14963e4ba33d9692a8a10010a30b982bdf580e6a6ee

Contents?: true

Size: 303 Bytes

Versions: 19

Compression:

Stored size: 303 Bytes

Contents

module Foo
  module_function
  def foo(x)
    x
  end
end

class Bar
  include Foo
  def bar
    foo(:y)
  end
end

Foo.foo(:x)
Bar.new.bar

__END__
# Classes
module Foo
  def foo : (:x | :y) -> (:x | :y)
  def self.foo : (:x | :y) -> (:x | :y)
end

class Bar
  include Foo
  def bar : -> (:x | :y)
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
typeprof-0.8.0 smoke/module_function2.rb
typeprof-0.7.0 smoke/module_function2.rb
typeprof-0.6.1 smoke/module_function2.rb
typeprof-0.6.0 smoke/module_function2.rb
typeprof-0.5.4 smoke/module_function2.rb
typeprof-0.5.3 smoke/module_function2.rb
typeprof-0.5.2 smoke/module_function2.rb
typeprof-0.5.1 smoke/module_function2.rb
typeprof-0.5.0 smoke/module_function2.rb
typeprof-0.4.2 smoke/module_function2.rb
typeprof-0.4.1 smoke/module_function2.rb
typeprof-0.4.0 smoke/module_function2.rb
typeprof-0.3.0 smoke/module_function2.rb
typeprof-0.2.0 smoke/module_function2.rb
typeprof-0.1.4 smoke/module_function2.rb
typeprof-0.1.3 smoke/module_function2.rb
typeprof-0.1.2 smoke/module_function2.rb
typeprof-0.1.1 smoke/module_function2.rb
typeprof-0.1.0 smoke/module_function2.rb