mozart 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@ module Mozart
2
2
  def self.value(*field_names, &block)
3
3
  Class.new do
4
4
  define_method(:initialize) do |params={}|
5
- raise ArgumentError unless params.keys == field_names
5
+ raise ArgumentError unless (params.keys - field_names).empty?
6
6
 
7
7
  self.__data__ = {}
8
8
 
@@ -1,3 +1,3 @@
1
1
  module Mozart
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mozart
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: