Sha256: da997244235f4df8c80854ac926d98fb4b1924cf8815da5b0b5d4a659abfdd85
Contents?: true
Size: 300 Bytes
Versions: 3
Compression:
Stored size: 300 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
typeprof-0.9.2 | smoke/module_function2.rb |
typeprof-0.9.1 | smoke/module_function2.rb |
typeprof-0.9.0 | smoke/module_function2.rb |