# class_condition_handler.rb

Path: | lib/yard/handlers/ruby/class_condition_handler.rb
Last Update: | Wed Jul 18 10:47:36 +0000 2012

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]