Sha256: 89e85cf8c4527b45cba35665f6eabcae2fae7455c22522de4bdf49e18fde7257
Contents?: true
Size: 281 Bytes
Versions: 1
Compression:
Stored size: 281 Bytes
Contents
module Turnip module Define def step(expression, &block) step = Turnip::StepDefinition.new(expression, &block) send(:define_method, "match: #{expression}") { |description| step.match(description) } send(:define_method, expression, &block) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
turnip-1.0.0 | lib/turnip/define.rb |