module Cucumber::Salad::Table::Transformations

Public Class Methods

keyword() click to toggle source
# File lib/cucumber/salad/table/transformations.rb, line 5
def self.keyword
  ->(val) { val.squeeze(' ').strip.gsub(' ', '_').sub(/\?$/, '').to_sym }
end
pass() click to toggle source
# File lib/cucumber/salad/table/transformations.rb, line 9
def self.pass
  ->(val) { val }
end