Class: EDN::Type::Unknown
- Inherits:
-
Struct
- Object
- Struct
- EDN::Type::Unknown
- Defined in:
- lib/edn/type/unknown.rb
Instance Attribute Summary collapse
-
#tag ⇒ Object
Returns the value of attribute tag.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
Instance Attribute Details
#tag ⇒ Object
Returns the value of attribute tag
3 4 5 |
# File 'lib/edn/type/unknown.rb', line 3 def tag @tag end |
#value ⇒ Object
Returns the value of attribute value
3 4 5 |
# File 'lib/edn/type/unknown.rb', line 3 def value @value end |
Instance Method Details
#to_edn ⇒ Object
4 5 6 |
# File 'lib/edn/type/unknown.rb', line 4 def to_edn EDN.tagout(tag, value) end |