Class: PgTrigger::Noop::Proxy
- Inherits:
-
Object
- Object
- PgTrigger::Noop::Proxy
- Defined in:
- lib/pg_trigger/noop.rb
Class Method Summary collapse
Class Method Details
.chain(*methods) ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/pg_trigger/noop.rb', line 7 def self.chain(*methods) methods.each do |m| class_eval <<-RUBY, __FILE__, __LINE__ + 1 def #{m}(*) self end RUBY end end |