Class: RbYAML::Event
- Inherits:
-
Struct
show all
- Defined in:
- lib/rbyaml/events.rb,
lib/rbyaml/events.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
Instance Attribute Details
Returns the value of attribute end_mark
3
4
5
|
# File 'lib/rbyaml/events.rb', line 3
def end_mark
@end_mark
end
|
#start_mark ⇒ Object
Returns the value of attribute start_mark
3
4
5
|
# File 'lib/rbyaml/events.rb', line 3
def start_mark
@start_mark
end
|
Instance Method Details
#__is_alias ⇒ Object
20
|
# File 'lib/rbyaml/events.rb', line 20
def __is_alias; false; end
|
#__is_collection_end ⇒ Object
15
|
# File 'lib/rbyaml/events.rb', line 15
def __is_collection_end; false; end
|
#__is_collection_start ⇒ Object
14
|
# File 'lib/rbyaml/events.rb', line 14
def __is_collection_start; false; end
|
#__is_document_end ⇒ Object
19
|
# File 'lib/rbyaml/events.rb', line 19
def __is_document_end; false; end
|
#__is_document_start ⇒ Object
18
|
# File 'lib/rbyaml/events.rb', line 18
def __is_document_start; false; end
|
#__is_mapping_end ⇒ Object
25
|
# File 'lib/rbyaml/events.rb', line 25
def __is_mapping_end; false; end
|
#__is_mapping_start ⇒ Object
24
|
# File 'lib/rbyaml/events.rb', line 24
def __is_mapping_start; false; end
|
#__is_node ⇒ Object
13
|
# File 'lib/rbyaml/events.rb', line 13
def __is_node; false; end
|
#__is_scalar ⇒ Object
21
|
# File 'lib/rbyaml/events.rb', line 21
def __is_scalar; false; end
|
#__is_sequence_end ⇒ Object
23
|
# File 'lib/rbyaml/events.rb', line 23
def __is_sequence_end; false; end
|
#__is_sequence_start ⇒ Object
22
|
# File 'lib/rbyaml/events.rb', line 22
def __is_sequence_start; false; end
|
#__is_stream_end ⇒ Object
17
|
# File 'lib/rbyaml/events.rb', line 17
def __is_stream_end; false; end
|
#__is_stream_start ⇒ Object
16
|
# File 'lib/rbyaml/events.rb', line 16
def __is_stream_start; false; end
|
5
6
7
|
# File 'lib/rbyaml/events.rb', line 5
def hash
object_id
end
|
8
9
10
11
12
|
# File 'lib/rbyaml/events.rb', line 8
def to_s
attributes = ["@anchor","@tag","@implicit","@value"] & self.instance_variables
args = attributes.collect {|val| "#{val[1..-1]}=" + eval("#{val}").to_s}.join(", ")
"#{self.class.name}(#{args})"
end
|