X7ROOT File Manager
Current Path:
/opt/alt/ruby18/share/ri/1.8/system/YAML
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
YAML
/
??
..
??
BaseEmitter
??
BaseNode
??
DBM
??
DomainType
??
Error
??
Loader
??
Mapping
??
Object
??
Omap
??
Pairs
??
ParseError
??
PrivateType
??
Sequence
??
Set
??
SpecialHash
??
Store
??
Stream
??
Syck
??
TypeError
??
YPath
??
YamlNode
??
add_builtin_type-c.yaml
(287 B)
??
add_domain_type-c.yaml
(297 B)
??
add_private_type-c.yaml
(273 B)
??
add_ruby_type-c.yaml
(281 B)
??
cdesc-YAML.yaml
(9.66 KB)
??
detect_implicit-c.yaml
(249 B)
??
dump-c.yaml
(652 B)
??
dump_stream-c.yaml
(443 B)
??
each_document-c.yaml
(537 B)
??
each_node-c.yaml
(568 B)
??
emitter-c.yaml
(232 B)
??
escape-c.yaml
(263 B)
??
generic_parser-c.yaml
(245 B)
??
load-c.yaml
(565 B)
??
load_documents-c.yaml
(543 B)
??
load_file-c.yaml
(399 B)
??
load_stream-c.yaml
(338 B)
??
make_stream-c.yaml
(248 B)
??
object_maker-c.yaml
(250 B)
??
parse-c.yaml
(1.21 KB)
??
parse_documents-c.yaml
(586 B)
??
parse_file-c.yaml
(927 B)
??
parser-c.yaml
(229 B)
??
quick_emit-c.yaml
(258 B)
??
read_type_class-c.yaml
(334 B)
??
resolver-c.yaml
(233 B)
??
tag_class-c.yaml
(1.28 KB)
??
tagged_classes-c.yaml
(513 B)
??
tagurize-c.yaml
(239 B)
??
transfer-c.yaml
(259 B)
??
try_implicit-c.yaml
(259 B)
??
unescape-c.yaml
(242 B)
Editing: tag_class-c.yaml
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Associates a taguri <em>tag</em> with a Ruby class <em>cls</em>. The taguri is used to give types to classes when loading YAML. Taguris are of the form:" - !ruby/struct:SM::Flow::VERB body: " tag:authorityName,date:specific\n" - !ruby/struct:SM::Flow::P body: The <tt>authorityName</tt> is a domain name or email address. The <tt>date</tt> is the date the type was issued in YYYY or YYYY-MM or YYYY-MM-DD format. The <tt>specific</tt> is a name for the type being added. - !ruby/struct:SM::Flow::P body: "For example, built-in YAML types have 'yaml.org' as the <tt>authorityName</tt> and '2002' as the <tt>date</tt>. The <tt>specific</tt> is simply the name of the type:" - !ruby/struct:SM::Flow::VERB body: " tag:yaml.org,2002:int\n tag:yaml.org,2002:float\n tag:yaml.org,2002:timestamp\n" - !ruby/struct:SM::Flow::P body: The domain must be owned by you on the <tt>date</tt> declared. If you don't own any domains on the date you declare the type, you can simply use an e-mail address. - !ruby/struct:SM::Flow::VERB body: " tag:why@ruby-lang.org,2004:notes/personal\n" full_name: YAML::tag_class is_singleton: true name: tag_class params: ( tag, cls ) visibility: public
Upload File
Create Folder