APIdock / Ruby
/
Browse About
method

type

v2_2_9 - Show latest stable - Class: RDoc::ClassModule
type()
public

‘module’ or ‘class’

# File lib/rdoc/class_module.rb, line 721
  def type
    module? ? 'module' : 'class'
  end

Related methods

  • Instance methods
  • add_comment
  • add_things
  • ancestors
  • aref
  • aref_prefix
  • clear_comment
  • comment=
  • complete
  • description
  • direct_ancestors
  • document_self_or_methods
  • documented?
  • each_ancestor
  • find_ancestor_local_symbol
  • find_class_named
  • full_name
  • marshal_dump
  • marshal_load
  • merge
  • merge_collections
  • merge_sections
  • module?
  • name=
  • name_for_path
  • non_aliases
  • parse
  • path
  • remove_nodoc_children
  • remove_things
  • search_record
  • store=
  • superclass
  • superclass=
  • to_s
  • type
  • update_aliases
  • update_extends
  • update_includes
  • Class methods
  • from_module
  • new
APIdock API Documentation Browser

© 2026 APIdock