Module: Cucumber::Deprecate::ForDevelopers

Defined in:
lib/cucumber/deprecate.rb

Class Method Summary collapse

Class Method Details

.call(_message, _method, remove_after_version) ⇒ Object


17
18
19
20
21
# File 'lib/cucumber/deprecate.rb', line 17

def self.call(_message, _method, remove_after_version)
  if Cucumber::VERSION > remove_after_version
    raise "This method is due for removal after version #{remove_after_version}"
  end
end