lib/yargi.rb in yargi-0.1.1 vs lib/yargi.rb in yargi-0.1.2
- old
+ new
@@ -1,10 +1,10 @@
require 'yargi/predicate'
module Yargi
# Current Yargi version
- VERSION = "0.1.1".freeze
+ VERSION = "0.1.2".freeze
# When _what_ is not nil, converts it to a predicate (typically a module).
# Otherwise, a block is expected, which is converted to a LambdaPredicate.
# Otherwise, return ALL.
def self.predicate(what=nil, &block)