Sha256: 7c3114fd86202a43a276a7772573128f18945d34442fc6708243131451366f70

Contents?: true

Size: 201 Bytes

Versions: 1

Compression:

Stored size: 201 Bytes

Contents

module Raisin
  class VersionConstraint
    def initialize(version)
      @version  = version
    end

    def matches?(req)
      @version == req.get_header('raisin.version'.freeze)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
raisin-0.2.0 lib/raisin/version_constraint.rb