Class: Cardiac::Proxy

Inherits:
Object
  • Object
show all
Defined in:
lib/cardiac/util.rb

Overview

Base proxy class.

On Ruby 2.0 and above, we can use ActiveSupport’s ProxyObject, otherwise we must use BlankSlate.

Direct Known Subclasses

ExtensionBuilder, ResourceBuilder

Instance Method Summary collapse

Instance Method Details

#respond_to?(name, include_all = false) ⇒ Boolean

By default, do not advertise methods on this proxy object.

Returns:

  • (Boolean)


43
44
45
# File 'lib/cardiac/util.rb', line 43

def respond_to?(name,include_all=false)
  respond_to_missing?(name,include_all)
end