Class: RbYAML::TagToken
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Attributes inherited from Token
Instance Method Summary collapse
- #__is_tag ⇒ Object
-
#initialize(value, start_mark, end_mark) ⇒ TagToken
constructor
A new instance of TagToken.
- #tid ⇒ Object
Methods inherited from Token
#__is_alias, #__is_anchor, #__is_block_end, #__is_block_entry, #__is_block_mapping_start, #__is_block_sequence_start, #__is_directive, #__is_document_end, #__is_document_start, #__is_flow_entry, #__is_flow_mapping_end, #__is_flow_mapping_start, #__is_flow_sequence_end, #__is_flow_sequence_start, #__is_key, #__is_scalar, #__is_stream_end, #__is_stream_start, #__is_value, #hash
Constructor Details
#initialize(value, start_mark, end_mark) ⇒ TagToken
Returns a new instance of TagToken.
184 185 186 187 |
# File 'lib/rbyaml/tokens.rb', line 184 def initialize(value, start_mark, end_mark) super(start_mark,end_mark) @value = value end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
183 184 185 |
# File 'lib/rbyaml/tokens.rb', line 183 def value @value end |