Sha256: d54681ad7f69726237c89dcd061af35b6d04d99861276c921fbcc17b8588b87c

Contents?: true

Size: 252 Bytes

Versions: 3

Compression:

Stored size: 252 Bytes

Contents

module YARD::MRuby::CodeObjects

  class HeadersRoot < YARD::CodeObjects::NamespaceObject
    def headers
      children
    end

    def inheritance_tree(*args)
      return [self]
    end
  end

  HEADERS_ROOT = HeadersRoot.new(:root, "headers")
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
yard-mruby-0.2.2 lib/yard/mruby/code_objects/headers_root.rb
yard-mruby-0.2.1 lib/yard/mruby/code_objects/headers_root.rb
yard-mruby-0.2.0 lib/yard/mruby/code_objects/headers_root.rb