Class: Orange::Ignore
Overview
This class acts as a simple sink for ignoring messages, it will return itself for any message call. Orange::Core can optionally return this when trying to access resources so that you can make method calls to a resource that might not be really there. It will silently swallow any errors that might arrise, so this should be used with caution.
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *args, &block) ⇒ Object
139 140 141 |
# File 'lib/orange-core/magick.rb', line 139 def method_missing(name, *args, &block) return self end |
Instance Method Details
#blank? ⇒ Boolean
138 |
# File 'lib/orange-core/magick.rb', line 138 def blank?; true; end |