Sha256: eb4633cf1ae007dbd0fc7e43824b627fafdfdc0615b543a067552cea0cf1f272

Contents?: true

Size: 405 Bytes

Versions: 5

Compression:

Stored size: 405 Bytes

Contents

module YARD
  module Handlers
    module Lucid
      class Base < Handlers::Base
        class << self
          include Parser::Lucid
          def handles?(node)
            handlers.any? do |a_handler|
              node.class == a_handler
            end
          end
          include Parser::Lucid
        end
      end

      Processor.register_handler_namespace :feature, Lucid
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
yard-lucid-0.5.0 lib/yard/handlers/lucid/base.rb
yard-lucid-0.4.0 lib/yard/handlers/lucid/base.rb
yard-lucid-0.3.0 lib/yard/handlers/lucid/base.rb
yard-lucid-0.2.0 lib/yard/handlers/lucid/base.rb
yard-lucid-0.1.0 lib/yard/handlers/lucid/base.rb