Module: RTM::IO::TOJTM::Variant
- Defined in:
- rtm/lib/rtm/io/to_jtm.rb
Instance Method Summary
-
- (Object) to_jtm
(also: #to_json)
Returns the JTM representation of this RTM::Variant.
Instance Method Details
- (Object) to_jtm Also known as: to_json
Returns the JTM representation of this RTM::Variant
82 83 84 85 86 87 |
# File 'rtm/lib/rtm/io/to_jtm.rb', line 82 def to_jtm h = to_hash h[:version] = "1.0" h[:item_type] = "variant" h.to_json end |