Sha256: 2cd73852446535a09c9841429557cc92c32f4986804627ca263605b273d2598f

Contents?: true

Size: 212 Bytes

Versions: 4

Compression:

Stored size: 212 Bytes

Contents

require 'colander/invalid_file'
require 'colander/parser/base'
module Colander
  module Parser
    class Plain < Base

      protected

      def payload
        File.read(@file_path)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
colander-0.2.3 lib/colander/parser/plain.rb
colander-0.2.2 lib/colander/parser/plain.rb
colander-0.2.1 lib/colander/parser/plain.rb
colander-0.2.0 lib/colander/parser/plain.rb