Sha256: fc85b84ad03bfe85f0497cfcab7c17497810f3d6f0c634f3815351ed11a4c5c1
Contents?: true
Size: 429 Bytes
Versions: 11
Compression:
Stored size: 429 Bytes
Contents
require 'asir' # Added .asir support. module Email include ASIR::Client # Email.asir def send_email template_name, options $stderr.puts "*** #{$$}: Email.send_mail #{template_name.inspect} #{options.inspect}" :ok end def do_raise msg raise msg end extend self end class MyClass include ASIR::Client def initialize x @x = x end def method_missing sel, *args @x.send(sel, *args) end end
Version data entries
11 entries across 11 versions & 1 rubygems