40 41 42 43 44 45 46 47
# File 'lib/xphase/spec.rb', line 40 def self.new(val) @@obj = super(val) if @@obj.id.nil? return nil end return @@obj end