RubyGems
npm
Organizations
Log in
Sign up
RubyGems
polyrex-createobject
Versions diffs
0.3.1 → 0.3.2
polyrex-createobject 0.3.1 → 0.3.2
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/polyrex-createobject.rb
+1
-1
metadata
+1
-1
data/lib/polyrex-createobject.rb
CHANGED
Viewed
@@ -10,7 +10,7 @@ class PolyrexCreateObject
10
10
11
11
attr_accessor :id
12
12
13
-
def initialize(schema, id)
13
+
def initialize(schema, id
=nil
)
14
14
@id = id
15
15
@id ||= 1
16
16
@schema = schema
metadata
CHANGED
Viewed
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: polyrex-createobject
3
3
version: !ruby/object:Gem::Version
4
-
version: 0.3.
1
4
+
version: 0.3.
2
5
5
platform: ruby
6
6
authors: []
7
7