Sha256: e1550291f212a3c96912593ebbda8c14363d3d5275a46fbb0e8818acdf0ee0e1

Contents?: true

Size: 308 Bytes

Versions: 11

Compression:

Stored size: 308 Bytes

Contents

class Test
  def self.foo(x)
    x
  end

  def Test.bar(x)
    x
  end

  #class << self
  #  alias baz bar
  #end
end

Test.foo(1)
Test.bar("str")
#Test.baz(:sym)
# Test#foo: (Integer) -> Integer

__END__
# Classes
class Test
  def self.foo: (Integer x) -> Integer
  def self.bar: (String x) -> String
end

Version data entries

11 entries across 11 versions & 1 rubygems

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