Sha256: 6fe017f256717ac6a08d0fa8c2c834cf91d40814ef5bb15337973c8e79bee34c

Contents?: true

Size: 228 Bytes

Versions: 5

Compression:

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

5 entries across 5 versions & 1 rubygems

Version Path
yard-0.6.4 lib/yard/handlers/ruby/method_condition_handler.rb
yard-0.6.3 lib/yard/handlers/ruby/method_condition_handler.rb
yard-0.6.2 lib/yard/handlers/ruby/method_condition_handler.rb
yard-0.6.1 lib/yard/handlers/ruby/method_condition_handler.rb
yard-0.6.0 lib/yard/handlers/ruby/method_condition_handler.rb