Sha256: 3d2b1525efe6bca8a28e7a677b85d488ebe5ee45a3b1120f2d13bf649fc9e1ff

Contents?: true

Size: 420 Bytes

Versions: 3

Compression:

Stored size: 420 Bytes

Contents

def gvar_test
  $gvar
end

class Foo
  def const_test
    CONST
  end

  def ivar_test
    @ivar
  end

  def cvar_test
    @@cvar
  end

  def self.cvar_test2
    @@cvar
  end
end

__END__
# Classes
class Object
  private
  def gvar_test: -> :gvar_example
end

class Foo
  def const_test: -> :const_example
  def ivar_test: -> :ivar_example
  def cvar_test: -> :cvar_example
  def self.cvar_test2: -> :cvar_example
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
typeprof-0.20.0 smoke/rbs-vars.rb
typeprof-0.15.3 smoke/rbs-vars.rb
typeprof-0.15.2 smoke/rbs-vars.rb