Module: OpenException::GrowlSupport
- Defined in:
- lib/open_exception/growl_support.rb
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
3 4 5 6 7 8 |
# File 'lib/open_exception/growl_support.rb', line 3 def self.included(base) if !base.instance_methods.include?(:open_without_growl) base.send(:alias_method, :open_file_without_growl, :open_file) base.send(:alias_method, :open_file, :open_file_with_growl) end end |