Sha256: b0295535f630396e5c27e5bdfe354979b7547d748f67fc65f02041c22129673c

Contents?: true

Size: 507 Bytes

Versions: 12

Compression:

Stored size: 507 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__
# Global variables
#$gvar : :gvar_example

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

class Foo
# @ivar : :ivar_example
# @@cvar : :cvar_example
  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

12 entries across 12 versions & 1 rubygems

Version Path
typeprof-0.6.1 smoke/rbs-vars.rb
typeprof-0.6.0 smoke/rbs-vars.rb
typeprof-0.5.4 smoke/rbs-vars.rb
typeprof-0.5.3 smoke/rbs-vars.rb
typeprof-0.5.2 smoke/rbs-vars.rb
typeprof-0.5.1 smoke/rbs-vars.rb
typeprof-0.5.0 smoke/rbs-vars.rb
typeprof-0.4.2 smoke/rbs-vars.rb
typeprof-0.4.1 smoke/rbs-vars.rb
typeprof-0.4.0 smoke/rbs-vars.rb
typeprof-0.3.0 smoke/rbs-vars.rb
typeprof-0.2.0 smoke/rbs-vars.rb