Module: Fictium::RSpec::ProxyHandler

Defined in:
lib/fictium/rspec/proxy_handler.rb

Instance Method Summary collapse

Instance Method Details

#describe(subject, *args, **kwargs, &block) ⇒ Object



4
5
6
7
8
# File 'lib/fictium/rspec/proxy_handler.rb', line 4

def describe(subject, *args, **kwargs, &block)
  return subject.evaluate(block, args, kwargs) if subject.is_a?(Proxies::Base)

  super
end