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.6.3 lib/spreewald_support/comparison.rb
spreewald-4.6.2 lib/spreewald_support/comparison.rb
spreewald-4.6.1 lib/spreewald_support/comparison.rb
spreewald-4.6.0 lib/spreewald_support/comparison.rb
spreewald-4.5.1 lib/spreewald_support/comparison.rb
spreewald-4.5.0 lib/spreewald_support/comparison.rb
spreewald-4.4.4 lib/spreewald_support/comparison.rb
spreewald-4.4.3 lib/spreewald_support/comparison.rb
spreewald-4.4.2 lib/spreewald_support/comparison.rb
spreewald-4.4.1 lib/spreewald_support/comparison.rb
spreewald-4.4.0 lib/spreewald_support/comparison.rb
spreewald-4.3.6 lib/spreewald_support/comparison.rb
spreewald-4.3.5 lib/spreewald_support/comparison.rb
spreewald-4.3.4 lib/spreewald_support/comparison.rb
spreewald-4.3.3 lib/spreewald_support/comparison.rb
spreewald-4.3.2 lib/spreewald_support/comparison.rb
spreewald-4.2.3 lib/spreewald_support/comparison.rb
spreewald-4.2.2 lib/spreewald_support/comparison.rb
spreewald-4.1.2 lib/spreewald_support/comparison.rb
spreewald-4.1.1 lib/spreewald_support/comparison.rb