Sha256: f157abfa5207abdf234421068720443337bc0176014589f3d2bfb8eaba9c8f1d

Contents?: true

Size: 262 Bytes

Versions: 2

Compression:

Stored size: 262 Bytes

Contents

require 'active_support/inflector'

module Foodie
  class Food
    def self.portray(food)
      if food.downcase == "broccoli"
        "Gross!"
      else
        "Delicious!"
      end
    end
    def self.pluralize(word)
      word.pluralize
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
foodie_hunt-1.1.1 lib/foodie/food.rb
foodie_hunt-0.1.0 lib/foodie/food.rb