Class: Test::Wrapped::DefaultExtractor

Inherits:
Object
  • Object
show all
Defined in:
lib/test/wrapped/default_extractor.rb

Instance Method Summary collapse

Instance Method Details

#extract(wrapper) ⇒ Object



4
5
6
# File 'lib/test/wrapped/default_extractor.rb', line 4

def extract(wrapper)
  wrapper.wrapped if wrapper.respond_to?(:wrapped)
end