Sha256: 7936ffeeb359bf28884177b8172c7d4ed040b7f7f81f8719cde060224473575f
Contents?: true
Size: 580 Bytes
Versions: 19
Compression:
Stored size: 580 Bytes
Contents
class YARD::Handlers::Ruby::StepTransformHandler < YARD::Handlers::Ruby::Base handles method_call(:Transform) @@unique_name = 0 process do @@unique_name += 1 instance = YARD::CodeObjects::StepTransformObject.new(YARD::CodeObjects::Cucumber::CUCUMBER_STEPTRANSFORM_NAMESPACE,"step_transform#{@@unique_name}") do |o| o.source = statement.source o.comments = statement.comments o.keyword = statement[0].source o.value = statement[1].source end obj = register instance parse_block(statement[2],:owner => obj) end end
Version data entries
19 entries across 19 versions & 2 rubygems