Module: Cucumber::Salad::Table::Transformations
- Defined in:
- lib/cucumber/salad/table/transformations.rb
Class Method Summary collapse
Class Method Details
.keyword ⇒ Object
5 6 7 |
# File 'lib/cucumber/salad/table/transformations.rb', line 5 def self.keyword ->(val) { val.squeeze(' ').strip.gsub(' ', '_').sub(/\?$/, '').to_sym } end |
.pass ⇒ Object
9 10 11 |
# File 'lib/cucumber/salad/table/transformations.rb', line 9 def self.pass ->(val) { val } end |