Module: Proxies::Stub

Included in:
Base
Defined in:
lib/bzproxies/stub.rb

Instance Method Summary collapse

Instance Method Details

#__getobj__Object



12
13
14
# File 'lib/bzproxies/stub.rb', line 12

def __getobj__
  self
end

#proxy?Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/bzproxies/stub.rb', line 4

def proxy?
  return false
end

#stub?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/bzproxies/stub.rb', line 8

def stub?
  return true
end