Module: RSpec::Tabular::Example

Defined in:
lib/rspec/tabular.rb

Overview

example level methods: e.g. inside before/it

Instance Method Summary collapse

Instance Method Details

#_unwrap(value) ⇒ Object



188
189
190
191
192
# File 'lib/rspec/tabular.rb', line 188

def _unwrap(value)
  return value unless value.is_a?(RSpec::Tabular::Wrapped)

  instance_eval(&value.proc)
end