Sha256: e455b5dd872301375654dcd1e94dce407049cc1b5d7bbbe05269e8423f23f9f7

Contents?: true

Size: 539 Bytes

Versions: 8

Compression:

Stored size: 539 Bytes

Contents

# frozen_string_literal: true

module Vedeu

  module Cells

    # Provides the character/escape sequence to draw one cell of the
    # right vertical border with a custom value, colour and style.
    #
    # @api private
    #
    class RightVertical < Vedeu::Cells::Vertical

      # @return [Symbol]
      def type
        :right_vertical
      end

      private

      # @return [Hash<Symbol => String>]
      def defaults
        super.merge!(value: Vedeu.esc.vertical)
      end

    end # RightVertical

  end # Cells

end # Vedeu

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
vedeu-0.8.9 lib/vedeu/cells/borders/edges/right_vertical.rb
vedeu-0.8.8 lib/vedeu/cells/borders/edges/right_vertical.rb
vedeu-0.8.7 lib/vedeu/cells/borders/edges/right_vertical.rb
vedeu-0.8.6 lib/vedeu/cells/borders/edges/right_vertical.rb
vedeu-0.8.5 lib/vedeu/cells/borders/edges/right_vertical.rb
vedeu-0.8.4 lib/vedeu/cells/borders/edges/right_vertical.rb
vedeu-0.8.3 lib/vedeu/cells/borders/edges/right_vertical.rb
vedeu-0.8.2 lib/vedeu/cells/borders/right_vertical.rb