Sha256: 89e0d173b7bfb004e4021dc50c3e62ad9b4200d5e48b8660101b1503fc4cbb13

Contents?: true

Size: 140 Bytes

Versions: 3

Compression:

Stored size: 140 Bytes

Contents

module RubyVersionCheck
  def with_minimum_ruby(version)
    yield if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new(version)
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
logstash-input-salesforce-3.0.0 vendor/jruby/1.9/gems/hashie-3.4.6/spec/support/ruby_version_check.rb
hashie-3.4.6 spec/support/ruby_version_check.rb
hashie-3.4.5 spec/support/ruby_version_check.rb