Sha256: c65edabca1ea542063b56e267b26195ce360564b1dc5db457fd522e91d9f6c94
Contents?: true
Size: 286 Bytes
Versions: 1
Compression:
Stored size: 286 Bytes
Contents
# frozen_string_literal: true require 'json' module Cosensee module Node # link node Link = Data.define(:content, :raw) do alias_method :to_s, :raw def to_obj content end def to_json(*) to_obj.to_json(*) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cosensee-0.8.0 | lib/cosensee/node/link.rb |