class_condition_handler.rb

Path: lib/yard/handlers/ruby/class_condition_handler.rb
Last Update: Tue May 21 03:27:31 +0000 2013

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]