Module: Cucumber::Deprecate::ForDevelopers

Defined in:
lib/cucumber/deprecate.rb

Class Method Summary collapse

Class Method Details

.call(_message, _method, remove_after_version) ⇒ Object


43
44
45
# File 'lib/cucumber/deprecate.rb', line 43

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