class_condition_handler.rb

Path: lib/yard/handlers/ruby/class_condition_handler.rb
Last Update: Sun May 01 13:34:22 +0000 2011

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]