Sha256: e28c8484bc4ae586096b484acc20f14b441a541c828430a729926acc5328a0d9

Contents?: true

Size: 203 Bytes

Versions: 40

Compression:

Stored size: 203 Bytes

Contents

module Spreewald
  module Comparison

    def self.compare_versions(gem_version, operator, compare_to)
      Gem::Version.new(gem_version).send(operator, Gem::Version.new(compare_to))
    end

  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
spreewald-4.1.0 lib/spreewald_support/comparison.rb
spreewald-3.0.3 lib/spreewald_support/comparison.rb
spreewald-3.0.2 lib/spreewald_support/comparison.rb
spreewald-2.99.3 lib/spreewald_support/comparison.rb
spreewald-2.99.2 lib/spreewald_support/comparison.rb
spreewald-3.0.1 lib/spreewald_support/comparison.rb
spreewald-2.99.1 lib/spreewald_support/comparison.rb
spreewald-3.0.0 lib/spreewald_support/comparison.rb
spreewald-2.99.0 lib/spreewald_support/comparison.rb
spreewald-2.9.0 lib/spreewald_support/comparison.rb
spreewald-2.8.0 lib/spreewald_support/comparison.rb
spreewald-2.7.1 lib/spreewald_support/comparison.rb
spreewald-2.7.0 lib/spreewald_support/comparison.rb
spreewald-2.6.0 lib/spreewald_support/comparison.rb
spreewald-2.5.0 lib/spreewald_support/comparison.rb
spreewald-2.4.2 lib/spreewald_support/comparison.rb
spreewald-2.4.0 lib/spreewald_support/comparison.rb
spreewald-2.3.0 lib/spreewald_support/comparison.rb
spreewald-2.2.4 lib/spreewald_support/comparison.rb
spreewald-2.2.3 lib/spreewald_support/comparison.rb