Class: RbYAML::Node
- Inherits:
-
Struct
show all
- Defined in:
- lib/rbyaml/nodes.rb,
lib/rbyaml/nodes.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/nodes.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/nodes.rb', line 3
def start_mark
@start_mark
end
|
Returns the value of attribute tag
3
4
5
|
# File 'lib/rbyaml/nodes.rb', line 3
def tag
@tag
end
|
Returns the value of attribute value
3
4
5
|
# File 'lib/rbyaml/nodes.rb', line 3
def value
@value
end
|
Instance Method Details
#__is_collection ⇒ Object
13
|
# File 'lib/rbyaml/nodes.rb', line 13
def __is_collection; false; end
|
#__is_mapping ⇒ Object
15
|
# File 'lib/rbyaml/nodes.rb', line 15
def __is_mapping; false; end
|
#__is_scalar ⇒ Object
12
|
# File 'lib/rbyaml/nodes.rb', line 12
def __is_scalar; false; end
|
#__is_sequence ⇒ Object
14
|
# File 'lib/rbyaml/nodes.rb', line 14
def __is_sequence; false; end
|
5
6
7
|
# File 'lib/rbyaml/nodes.rb', line 5
def hash
object_id
end
|
8
9
10
|
# File 'lib/rbyaml/nodes.rb', line 8
def to_s
"#{self.class.name}(tag=#{tag}, value=#{value})"
end
|