Sha256: 7eed5a3d29ddf3d6e6a6fcf9f6c9ca442330fa8e5dbc396fa57ed0f8a03a81bc

Contents?: true

Size: 528 Bytes

Versions: 5

Compression:

Stored size: 528 Bytes

Contents

# frozen_string_literal: true

module Vedeu

  module Coercers

    # Provides the mechanism to convert a value into a
    # {Vedeu::Views::Lines}.
    #
    # @api private
    #
    class Lines < Vedeu::Coercers::Coercer

      # @macro raise_fatal
      # @return [void]
      def coerce
        if coerced?
          value

        else
          incoercible!

        end
      end

      private

      # @return [Class]
      def klass
        Vedeu::Views::Lines
      end

    end # Lines

  end # Coercers

end # Vedeu

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
vedeu-0.8.15 lib/vedeu/coercers/lines.rb
vedeu-0.8.14 lib/vedeu/coercers/lines.rb
vedeu-0.8.13 lib/vedeu/coercers/lines.rb
vedeu-0.8.12 lib/vedeu/coercers/lines.rb
vedeu-0.8.10 lib/vedeu/coercers/lines.rb