Sha256: 44949576a751b3788aa7969db5b61c87009cc79e8930a561e713fdfe2f6e3071

Contents?: true

Size: 298 Bytes

Versions: 13

Compression:

Stored size: 298 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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
yard-0.6.1 spec/handlers/examples/constant_handler_001.rb.txt
yard-0.6.0 spec/handlers/examples/constant_handler_001.rb.txt
yard-0.5.8 spec/handlers/examples/constant_handler_001.rb.txt
yard-0.5.7 spec/handlers/examples/constant_handler_001.rb.txt
yard-0.5.6 spec/handlers/examples/constant_handler_001.rb.txt
yard-0.5.5 spec/handlers/examples/constant_handler_001.rb.txt
yard-0.5.4 spec/handlers/examples/constant_handler_001.rb.txt
yard-0.5.3 spec/handlers/examples/constant_handler_001.rb.txt
yard-0.5.2 spec/handlers/examples/constant_handler_001.rb.txt
yard-0.5.1p1 spec/handlers/examples/constant_handler_001.rb.txt
yard-0.5.1 spec/handlers/examples/constant_handler_001.rb.txt
yard-0.5.0 spec/handlers/examples/constant_handler_001.rb.txt
yard-0.4.0 spec/handlers/examples/constant_handler_001.rb.txt