Sha256: cd618ed39eb8ce8eb3f596ff3a94eabcdd8bd6c1b62abcf3f137849f6bcd3264

Contents?: true

Size: 295 Bytes

Versions: 3

Compression:

Stored size: 295 Bytes

Contents

module LintTrap
  module Parser
    class Base
      def initialize(io, container)
        @io = io
        @container = container
      end

      def parse
        raise NotImplementedError, "Must implement parse."
      end

    protected

      attr_reader :container, :io
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lint_trap-0.0.15 lib/lint_trap/parser/base.rb
lint_trap-0.0.14 lib/lint_trap/parser/base.rb
lint_trap-0.0.13 lib/lint_trap/parser/base.rb