WebRI  RDoc::ClassModule

[Validate]
Generated with WebRI Redfish 1.2

ClassModule

Public Instance Methods

document_self_or_methods() click to toggle source
# File lib/webri/extensions/rdoc.rb, line 60
  def document_self_or_methods
    document_self || method_list.any?{ |m| m.document_self }
  end
to_h() click to toggle source
# File lib/webri/extensions/rdoc.rb, line 65
  def to_h
    {
      :name       => name,
      :fullname   => full_name,
      :type       => type,
      :path       => path,
      :superclass => module? ? nil : superclass
    }
  end
to_json() click to toggle source

(Not documented)

# File lib/webri/extensions/rdoc.rb, line 75
  def to_json
    to_h.to_json
  end
with_documentation?() click to toggle source
# File lib/webri/extensions/rdoc.rb, line 55
  def with_documentation?
    document_self_or_methods || classes_and_modules.any?{ |c| c.with_documentation? }
  end

Disabled; run with --debug to generate this.