Sha256: f3151674fee72329ce77cc79de5ee9a9475da810c8b7cccaea092f38df184069

Contents?: true

Size: 214 Bytes

Versions: 2

Compression:

Stored size: 214 Bytes

Contents

# Must
module Must
  class Invalid < StandardError; end
  class ShouldNotEmpty  < Invalid; end

  def must
    Rule.new(self)
  end
end

require File.dirname(__FILE__) + '/must/rule'
Object.__send__ :include, Must

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
maiha-must-0.2 lib/must.rb
must-0.2.1 lib/must.rb