Sha256: bdc34fed1572b6d6c42a999b9f8bf7e534a3316899bb9304696dad89f7f9d4fd

Contents?: true

Size: 231 Bytes

Versions: 4

Compression:

Stored size: 231 Bytes

Contents

# Handles a conditional inside a method
class YARD::Handlers::Ruby::MethodConditionHandler < YARD::Handlers::Ruby::Base
  handles :if_mod, :unless_mod
  
  process do
    parse_block(statement.then_block, :owner => owner)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
yard-0.6.8 lib/yard/handlers/ruby/method_condition_handler.rb
yard-0.6.7 lib/yard/handlers/ruby/method_condition_handler.rb
yard-0.6.6 lib/yard/handlers/ruby/method_condition_handler.rb
yard-0.6.5 lib/yard/handlers/ruby/method_condition_handler.rb