Sha256: ab0098e2219b8f3269cd7b79ae3ab58214934557c485c8359289b042a80ac1ab

Contents?: true

Size: 385 Bytes

Versions: 5

Compression:

Stored size: 385 Bytes

Contents

class YARD::Handlers::Ruby::Legacy::ProcessHandler < YARD::Handlers::Ruby::Legacy::Base
  handles /\Aprocess(?:\(?|\s)/
  namespace_only
  
  process do
    return unless namespace.is_a?(ClassObject) && namespace.superclass.to_s =~ /^YARD::Handlers/
    register MethodObject.new(namespace, :process) do |o| 
      o.signature = "def process"
      o.parameters = []
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
yard-0.5.8 lib/yard/handlers/ruby/legacy/process_handler.rb
yard-0.5.7 lib/yard/handlers/ruby/legacy/process_handler.rb
yard-0.5.6 lib/yard/handlers/ruby/legacy/process_handler.rb
yard-0.5.5 lib/yard/handlers/ruby/legacy/process_handler.rb
yard-0.5.4 lib/yard/handlers/ruby/legacy/process_handler.rb