Sha256: d461ed4e8da9cc463e1dbf5b5f5911bad0cf29fed0c9401fe216396a1ac5c7e9

Contents?: true

Size: 953 Bytes

Versions: 8

Compression:

Stored size: 953 Bytes

Contents

# Docstring
class A
  module B; end
  private
  class B::C < String; 
    def method1; end
    def method2; end
  end
  class X<B::C
  end
  class<<self
    def classmethod1; end
  end

  class << A::B::C; def Hello; end end
end

module B
  class A < A
  end
end

class RT < XX::RT; end

class Test1 < R "something"
end

class Test2 < R(/something/)
end

class Test3 < Struct.new(:foo, :bar)
end

class Test4 < OStruct.new
end

class Test5 < DelegateClass(Array)
end

class Test6 < NotDelegateClass(Array)
end

class ::MyRootClass
end

module Holder
  module SomeMod
    class Importer
      def parse; end
    end
  end
end

module Holder
  class Importer < Holder::SomeMod::Importer
    def a; end
  end
end

class String; end
CONST = String
class << CONST
  def classmethod; end
end

module Q
  class Logger < ::Logger; end
end

class << Symbol
  alias toString to_s
end

# Docstring
class Zebra
end

# Docstring 2

class Zebra
end

class Zebra
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
yard-0.5.5 spec/handlers/examples/class_handler_001.rb.txt
yard-0.5.4 spec/handlers/examples/class_handler_001.rb.txt
yard-0.5.3 spec/handlers/examples/class_handler_001.rb.txt
yard-0.5.2 spec/handlers/examples/class_handler_001.rb.txt
yard-0.5.1p1 spec/handlers/examples/class_handler_001.rb.txt
yard-0.5.1 spec/handlers/examples/class_handler_001.rb.txt
yard-0.5.0 spec/handlers/examples/class_handler_001.rb.txt
yard-0.4.0 spec/handlers/examples/class_handler_001.rb.txt