$39 GRAYBYTE WORDPRESS FILE MANAGER $86

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.23
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/ruby34/share/gems/gems/rdoc-6.14.0/lib/rdoc/code_object/

HOME
Current File : /opt/alt/ruby34/share/gems/gems/rdoc-6.14.0/lib/rdoc/code_object//normal_class.rb
# frozen_string_literal: true
##
# A normal class, neither singleton nor anonymous

class RDoc::NormalClass < RDoc::ClassModule

  ##
  # The ancestors of this class including modules.  Unlike Module#ancestors,
  # this class is not included in the result.  The result will contain both
  # RDoc::ClassModules and Strings.

  def ancestors
    if String === superclass then
      super << superclass
    elsif superclass then
      ancestors = super
      ancestors << superclass
      ancestors.concat superclass.ancestors
    else
      super
    end
  end

  def aref_prefix # :nodoc:
    'class'
  end

  ##
  # The definition of this class, <tt>class MyClassName</tt>

  def definition
    "class #{full_name}"
  end

  def direct_ancestors
    superclass ? super + [superclass] : super
  end

  def inspect # :nodoc:
    superclass = @superclass ? " < #{@superclass}" : nil
    "<%s:0x%x class %s%s includes: %p extends: %p attributes: %p methods: %p aliases: %p>" % [
      self.class, object_id,
      full_name, superclass, @includes, @extends, @attributes, @method_list, @aliases
    ]
  end

  def to_s # :nodoc:
    display = "#{self.class.name} #{self.full_name}"
    if superclass
      display += ' < ' + (superclass.is_a?(String) ? superclass : superclass.full_name)
    end
    display += ' -> ' + is_alias_for.to_s if is_alias_for
    display
  end

  def pretty_print(q) # :nodoc:
    superclass = @superclass ? " < #{@superclass}" : nil

    q.group 2, "[class #{full_name}#{superclass}", "]" do
      q.breakable
      q.text "includes:"
      q.breakable
      q.seplist @includes do |inc| q.pp inc end

      q.breakable
      q.text "constants:"
      q.breakable
      q.seplist @constants do |const| q.pp const end

      q.breakable
      q.text "attributes:"
      q.breakable
      q.seplist @attributes do |attr| q.pp attr end

      q.breakable
      q.text "methods:"
      q.breakable
      q.seplist @method_list do |meth| q.pp meth end

      q.breakable
      q.text "aliases:"
      q.breakable
      q.seplist @aliases do |aliaz| q.pp aliaz end

      q.breakable
      q.text "comment:"
      q.breakable
      q.pp comment
    end
  end

end


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
10 Feb 2026 9.34 AM
root / linksafe
0755
context
--
10 Feb 2026 9.34 AM
root / linksafe
0755
alias.rb
1.998 KB
27 Jan 2026 4.00 PM
root / linksafe
0644
anon_class.rb
0.167 KB
27 Jan 2026 4.00 PM
root / linksafe
0644
any_method.rb
8.618 KB
27 Jan 2026 4.00 PM
root / linksafe
0644
attr.rb
3.744 KB
27 Jan 2026 4.00 PM
root / linksafe
0644
class_module.rb
22.529 KB
27 Jan 2026 4.00 PM
root / linksafe
0644
constant.rb
3.623 KB
27 Jan 2026 4.00 PM
root / linksafe
0644
context.rb
29.578 KB
27 Jan 2026 4.00 PM
root / linksafe
0644
extend.rb
0.165 KB
27 Jan 2026 4.00 PM
root / linksafe
0644
ghost_method.rb
0.14 KB
27 Jan 2026 4.00 PM
root / linksafe
0644
include.rb
0.167 KB
27 Jan 2026 4.00 PM
root / linksafe
0644
meta_method.rb
0.125 KB
27 Jan 2026 4.00 PM
root / linksafe
0644
method_attr.rb
8.88 KB
27 Jan 2026 4.00 PM
root / linksafe
0644
mixin.rb
2.754 KB
27 Jan 2026 4.00 PM
root / linksafe
0644
normal_class.rb
2.131 KB
27 Jan 2026 4.00 PM
root / linksafe
0644
normal_module.rb
1.432 KB
27 Jan 2026 4.00 PM
root / linksafe
0644
require.rb
0.965 KB
27 Jan 2026 4.00 PM
root / linksafe
0644
single_class.rb
0.5 KB
27 Jan 2026 4.00 PM
root / linksafe
0644
top_level.rb
5.303 KB
27 Jan 2026 4.00 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF