Sha256: f0144253e640c872b6daafb776f64c47df713214441d138dd52ec45127ebadfd

Contents?: true

Size: 286 Bytes

Versions: 1

Compression:

Stored size: 286 Bytes

Contents

module Mummy
  module Parsers
    class BaseParser
      def initialize(input)
        @input = input
      end

      def items
        raise NotImplementedError, "#items must be imlemented by a BaseParser subclass"
      end

      private

      attr_reader :input
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mummy-0.1.0 lib/mummy/parsers/base_parser.rb