class_condition_handler.rb

Path: lib/yard/handlers/ruby/class_condition_handler.rb
Last Update: Fri Dec 23 00:33:50 +0000 2016

Matches if/unless conditions inside classes and attempts to process only one branch (by evaluating the condition if possible).

@example A simple class conditional

  class Foo
    if 0
      # This method is ignored
      def xyz; end
    end
  end

[Validate]