Sha256: 2e104c07e74c253a993b0211fbf3198f455d38f96743c471f6c0a720725de9a4
Contents?: true
Size: 280 Bytes
Versions: 3
Compression:
Stored size: 280 Bytes
Contents
class LessThanProc < Proc attr_accessor :present def self.with(present) pv = Gem::Version.new(present.dup) lt = self.new { |required| pv < Gem::Version.new(required) } lt.present = present return lt end def inspect "\"=< #{present.to_s}\"" end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bundler-prehistoric-1.6.2.2 | spec/support/less_than_proc.rb |
bundler-prehistoric-1.6.2.1 | spec/support/less_than_proc.rb |
bundler-prehistoric-1.6.2 | spec/support/less_than_proc.rb |