Sha256: 805d277a863314be809302a900e50285f14f9720f3ab49e9dda3a0be510811dd

Contents?: true

Size: 663 Bytes

Versions: 55

Compression:

Stored size: 663 Bytes

Contents

class A
  if some_condition
    def a; end
  elsif 1 == 1
    def b; end
  else
    def c; end
  end
  
  def d; end if 50 * 2 == 101
  
  unless false
    def e; end
  else
    def enot; end
  end
  
  def g; end unless 5 * 2 == 101

  def h
    if 1
      def hnot; end
    end
  end
  
  if defined? A
    def j; end
  else
    def jnot; end
  end
  
  if defined? RUBY_VERSION
    def k; end
  else
    def knot; end
  end
  
  if 0
    def nnot; end
  else
    def n; end
  end
  
  if 256
    def o; end
  else
    def onot; end
  end
  
  if true
    def p; end
  else
    def pnot; end
  end
  
  if false
    def qnot; end
  else
    def q; end
  end
end

Version data entries

55 entries across 55 versions & 4 rubygems

Version Path
challah-0.6.2 vendor/bundle/gems/yard-0.7.5/spec/handlers/examples/class_condition_handler_001.rb.txt
challah-0.6.1 vendor/bundle/gems/yard-0.7.5/spec/handlers/examples/class_condition_handler_001.rb.txt
challah-0.6.0 vendor/bundle/gems/yard-0.7.5/spec/handlers/examples/class_condition_handler_001.rb.txt
challah-0.5.4 vendor/bundle/gems/yard-0.7.5/spec/handlers/examples/class_condition_handler_001.rb.txt
challah-0.5.3 vendor/bundle/gems/yard-0.7.5/spec/handlers/examples/class_condition_handler_001.rb.txt
challah-0.5.2 vendor/bundle/gems/yard-0.7.5/spec/handlers/examples/class_condition_handler_001.rb.txt
challah-0.5.1 vendor/bundle/gems/yard-0.7.5/spec/handlers/examples/class_condition_handler_001.rb.txt
challah-0.5.0 vendor/bundle/gems/yard-0.7.5/spec/handlers/examples/class_condition_handler_001.rb.txt
challah-0.4.1 vendor/bundle/gems/yard-0.7.5/spec/handlers/examples/class_condition_handler_001.rb.txt
challah-0.4.0 vendor/bundle/gems/yard-0.7.5/spec/handlers/examples/class_condition_handler_001.rb.txt
challah-0.3.5 vendor/bundle/gems/yard-0.7.5/spec/handlers/examples/class_condition_handler_001.rb.txt
challah-0.3.4 vendor/bundle/gems/yard-0.7.5/spec/handlers/examples/class_condition_handler_001.rb.txt
challah-0.3.3 vendor/bundle/gems/yard-0.7.5/spec/handlers/examples/class_condition_handler_001.rb.txt
challah-0.3.2 vendor/bundle/gems/yard-0.7.5/spec/handlers/examples/class_condition_handler_001.rb.txt
challah-0.3.1 vendor/bundle/gems/yard-0.7.5/spec/handlers/examples/class_condition_handler_001.rb.txt
challah-0.3.0 vendor/bundle/gems/yard-0.7.5/spec/handlers/examples/class_condition_handler_001.rb.txt
challah-0.2.1 vendor/bundle/gems/yard-0.7.5/spec/handlers/examples/class_condition_handler_001.rb.txt
challah-0.2.0 vendor/bundle/gems/yard-0.7.5/spec/handlers/examples/class_condition_handler_001.rb.txt
yard-0.7.5 spec/handlers/examples/class_condition_handler_001.rb.txt
nutshell-crm-0.0.6.alpha vendor/bundle/gems/yard-0.7.4/spec/handlers/examples/class_condition_handler_001.rb.txt