lib/delorean/model.rb in delorean_lang-0.4.00 vs lib/delorean/model.rb in delorean_lang-0.4.1
- old
+ new
@@ -20,16 +20,8 @@
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
-
- def delorean_instance_method(name, sig = nil)
- delorean_instance_methods[[self, name.to_sym]] = [self, *sig].compact
- end
-
- def delorean_instance_methods
- @@delorean_instance_methods ||= {}
- end
end
end
end