Sha256: 91471003c0b92f10ab8f2517513819754c922ef0a9639f452fee2ca543475d6e

Contents?: true

Size: 339 Bytes

Versions: 1

Compression:

Stored size: 339 Bytes

Contents

# frozen_string_literal: true

module Cosensee
  module Node
    # for Decorate
    DecorateBracket = Data.define(
      :content,
      :font_size,
      :underlined,
      :slanted,
      :deleted,
      :text,
      :raw
    ) do
      include BracketSerializer

      # override
      def to_s
        text
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cosensee-0.8.0 lib/cosensee/node/decorate_bracket.rb