Sha256: fd83abed5adf0a387813dd8e88a6d6f2e00ba8c0e7d8189e7801c2f8f0095257

Contents?: true

Size: 543 Bytes

Versions: 17

Compression:

Stored size: 543 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 [Vedeu::Views::Lines]
      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

17 entries across 17 versions & 1 rubygems

Version Path
vedeu-0.8.32 lib/vedeu/coercers/lines.rb
vedeu-0.8.31 lib/vedeu/coercers/lines.rb
vedeu-0.8.30 lib/vedeu/coercers/lines.rb
vedeu-0.8.29 lib/vedeu/coercers/lines.rb
vedeu-0.8.28 lib/vedeu/coercers/lines.rb
vedeu-0.8.27 lib/vedeu/coercers/lines.rb
vedeu-0.8.26 lib/vedeu/coercers/lines.rb
vedeu-0.8.25 lib/vedeu/coercers/lines.rb
vedeu-0.8.24 lib/vedeu/coercers/lines.rb
vedeu-0.8.23 lib/vedeu/coercers/lines.rb
vedeu-0.8.22 lib/vedeu/coercers/lines.rb
vedeu-0.8.21 lib/vedeu/coercers/lines.rb
vedeu-0.8.20 lib/vedeu/coercers/lines.rb
vedeu-0.8.19 lib/vedeu/coercers/lines.rb
vedeu-0.8.18 lib/vedeu/coercers/lines.rb
vedeu-0.8.17 lib/vedeu/coercers/lines.rb
vedeu-0.8.16 lib/vedeu/coercers/lines.rb