lib/delorean/model.rb in delorean_lang-0.3.32 vs lib/delorean/model.rb in delorean_lang-0.3.33

- old
+ new

@@ -15,10 +15,10 @@ sig = options[:sig] raise "no signature" unless sig if sig - sig = [sig, sig] if sig.is_a? Fixnum + sig = [sig, sig] if sig.is_a? Integer raise "Bad signature" unless (sig.is_a? Array and sig.length==2) self.const_set(name.to_s.upcase+Delorean::SIG, sig) end end