Sha256: 8bb520ade843b084e83ac8437cbb4e8d9120a6e9c18ea31db4ed341b6ac47bd5

Contents?: true

Size: 423 Bytes

Versions: 105

Compression:

Stored size: 423 Bytes

Contents

module A
  class B
	notaconstant = 2
    SOMECONSTANT= "hello"

    def method
      SOMECONSTANT = "don't document this"
    end

    MYCONSTANT = A +
      B +
      C +
      D
  end
end

MyClass = Struct.new(:a, :b, :c)
NotMyClass = Struct.new("NotMyClass2", :b, :c)
MyEmptyStruct = Struct.new

# A crazy struct.
#
# @attr [String] bar An attr
# @attr [Number] baz Another attr
DocstringStruct = Struct.new(:bar, :baz)

Version data entries

105 entries across 86 versions & 9 rubygems

Version Path
yard-0.8.7.6 spec/handlers/examples/constant_handler_001.rb.txt
yard-0.8.7.5 spec/handlers/examples/constant_handler_001.rb.txt
climine-0.0.7 vendor/bundle/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/constant_handler_001.rb.txt
climine-0.0.7 vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/examples/constant_handler_001.rb.txt
climine-0.0.6 vendor/bundle/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/constant_handler_001.rb.txt
climine-0.0.5 vendor/bundle/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/constant_handler_001.rb.txt
yard-0.8.7.4 spec/handlers/examples/constant_handler_001.rb.txt
climine-0.0.4 vendor/bundle/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/constant_handler_001.rb.txt
climine-0.0.3 vendor/bundle/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/constant_handler_001.rb.txt
mango-0.8.0 vendor/bundler/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/examples/constant_handler_001.rb.txt
mango-0.7.1 vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/constant_handler_001.rb.txt
mango-0.7.0 vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/constant_handler_001.rb.txt
climine-0.0.2 vendor/bundle/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/constant_handler_001.rb.txt
climine-0.0.1 vendor/bundle/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/constant_handler_001.rb.txt
yard-0.8.7.3 spec/handlers/examples/constant_handler_001.rb.txt
yard-0.8.7.2 spec/handlers/examples/constant_handler_001.rb.txt
candlepin-api-0.4.0 bundle/ruby/1.9.1/gems/yard-0.8.7/spec/handlers/examples/constant_handler_001.rb.txt
candlepin-api-0.4.0 bundle/ruby/gems/yard-0.8.7/spec/handlers/examples/constant_handler_001.rb.txt
candlepin-api-0.4.0 bundle/ruby/1.8/gems/yard-0.8.7/spec/handlers/examples/constant_handler_001.rb.txt
yard-0.8.7.1 spec/handlers/examples/constant_handler_001.rb.txt