Sha256: 40573dbfc669314b1e164f15d436eacdbdfad22f030e2c86e224eb3e7f21dda9

Contents?: true

Size: 502 Bytes

Versions: 26

Compression:

Stored size: 502 Bytes

Contents

module YARD
  module Handlers
    module Cucumber

      class Base < Handlers::Base
        class << self
          include Parser::Cucumber
          def handles?(node)
            handlers.any? do |a_handler|
              #log.debug "YARD::Handlers::Cucumber::Base#handles?(#{node.class})"
              node.class == a_handler
            end
          end
          include Parser::Cucumber
        end

      end

      Processor.register_handler_namespace :feature, Cucumber
    end 
  end
end

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
cucumber-in-the-yard-1.5.1 lib/yard/handlers/cucumber/base.rb
cucumber-in-the-yard-1.5 lib/yard/handlers/cucumber/base.rb
cucumber-in-the-yard-1.4 lib/yard/handlers/cucumber/base.rb
cucumber-in-the-yard-1.3 lib/yard/handlers/base.rb
cucumber-in-the-yard-1.2 lib/yard/handlers/base.rb
cucumber-in-the-yard-1.1 lib/yard/handlers/base.rb