Sha256: 820307274234337dcb64a1524baf0dbb2edffe96f7cf0455fc0a1b87923919f9

Contents?: true

Size: 507 Bytes

Versions: 11

Compression:

Stored size: 507 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

11 entries across 11 versions & 1 rubygems

Version Path
yard-cucumber-2.2.2 lib/yard/handlers/cucumber/base.rb
yard-cucumber-2.2.1 lib/yard/handlers/cucumber/base.rb
yard-cucumber-2.2.0 lib/yard/handlers/cucumber/base.rb
yard-cucumber-2.1.7 lib/yard/handlers/cucumber/base.rb
yard-cucumber-2.1.6 lib/yard/handlers/cucumber/base.rb
yard-cucumber-2.1.5 lib/yard/handlers/cucumber/base.rb
yard-cucumber-2.1.4 lib/yard/handlers/cucumber/base.rb
yard-cucumber-2.1.3 lib/yard/handlers/cucumber/base.rb
yard-cucumber-2.1.2 lib/yard/handlers/cucumber/base.rb
yard-cucumber-2.1.1 lib/yard/handlers/cucumber/base.rb
yard-cucumber-2.1.0 lib/yard/handlers/cucumber/base.rb