Sha256: 42d1cc9226314c4f19473aba82aa3315ff402b019495129aed33e53d500bf44b
Contents?: true
Size: 176 Bytes
Versions: 2
Compression:
Stored size: 176 Bytes
Contents
module Polyfill module Utils def when_ruby_below(version) yield if RUBY_VERSION[/\A(\d+\.\d+)/, 1] < version end module_function :when_ruby_below end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
polyfill-0.6.0 | lib/polyfill/utils.rb |
polyfill-0.5.0 | lib/polyfill/utils.rb |