⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
RDoc
/
Context
/
Edit File: add_class-i.ri
U:RDoc::AnyMethod[iI"add_class:ETI"RDoc::Context#add_class;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"7Adds a class named +given_name+ with +superclass+.;To:RDoc::Markup::BlankLine o; ; [I"BBoth +given_name+ and +superclass+ may contain '::', and are ;TI"Pinterpreted relative to the +self+ context. This allows handling correctly ;TI"examples like these:;To:RDoc::Markup::Verbatim; [ I"%class RDoc::Gauntlet < Gauntlet ;TI"module Mod ;TI"+ class Object # implies < ::Object ;TI": class SubObject < Object # this is _not_ ::Object ;T:@format0o; ; [I"OGiven <tt>class Container::Item</tt> RDoc assumes +Container+ is a module ;TI"Ounless it later sees <tt>class Container</tt>. +add_class+ automatically ;TI"3upgrades +given_name+ to a class in this case.;T: @fileI"lib/rdoc/context.rb;T:0@omit_headings_from_table_of_contents_below000[ I"6(class_type, given_name, superclass = '::Object');T@FI"Context;TcRDoc::NormalClass00
Simpan