Sha256: 91b33ee0a9a2d74969c5a78d26f64fb0209a34786df8b5ea01277fae093f612b

Contents?: true

Size: 390 Bytes

Versions: 8

Compression:

Stored size: 390 Bytes

Contents

# complexity:5
class Spaghetti

  def toppings

    if rand(10) < 5
      return "meatball"
    end

    if 1 < 5
      return 'tomato'
    else
      if 4 ==5
        if 2 > 0
          return "parmesan"
        else
          return "romano"
        end
      else
        if 2 > 0
          return "alfredo"
        else
          return "gravy"
        end
      end
    end

  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fukuzatsu-2.3.2 spec/fixtures/class.rb
fukuzatsu-2.3.1 spec/fixtures/class.rb
fukuzatsu-2.3.0 spec/fixtures/class.rb
fukuzatsu-2.2.4 spec/fixtures/class.rb
fukuzatsu-2.2.3 spec/fixtures/class.rb
fukuzatsu-2.2.2 spec/fixtures/class.rb
fukuzatsu-2.2.1 spec/fixtures/class.rb
fukuzatsu-2.1.1 spec/fixtures/class.rb