Class: Array
- Inherits:
-
Object
show all
- Defined in:
- lib/rbyaml/util.rb,
lib/rbyaml/rubytypes.rb
Instance Method Summary
collapse
Instance Method Details
17
|
# File 'lib/rbyaml/util.rb', line 17
def __is_a; true end
|
#is_complex_yaml? ⇒ Boolean
109
|
# File 'lib/rbyaml/rubytypes.rb', line 109
def is_complex_yaml?; true; end
|
#to_yaml_node(repre) ⇒ Object
111
112
113
114
115
|
# File 'lib/rbyaml/rubytypes.rb', line 111
def to_yaml_node(repre)
RbYAML::quick_emit_node(object_id, repre) {|rep|
rep.seq(taguri,self,to_yaml_style)
}
end
|
#yaml_initialize(tag, val) ⇒ Object
110
|
# File 'lib/rbyaml/rubytypes.rb', line 110
def yaml_initialize( tag, val ); concat( val.to_a ); end
|