Module: Cucumber::Ast

Defined in:
lib/cucumber/ast.rb

Class Method Summary collapse

Class Method Details

.const_missing(const_name) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/cucumber/ast.rb', line 5

def self.const_missing(const_name)
  if const_name == :Table
    warn "`Cucumber::Ast::Table` has been deprecated. Use `Cucumber::MultilineArgument::DataTable` instead."
    return Cucumber::MultilineArgument::DataTable
  end
  raise "`Cucumber::Ast` no longer exists. These classes have moved into the `Cucumber::Core::Ast` namespace, but may not have the same API."
end