Class: MATTI
Class Method Summary collapse
Class Method Details
.method_missing(method_id, *args) ⇒ Object
25 26 27 28 29 30 31 32 33 |
# File 'lib/tdriver/matti.rb', line 25 def self.method_missing( method_id, *args ) file, line = caller.first.split(":") $stderr.puts "#{ file }:#{ line } warning: deprecated class #{ self.name }, use TDriver##{ method_id.to_s } instead" TDriver.respond_to?( method_id ) ? TDriver.method( method_id ).call( *args ) : super end |