Sha256: fd8a35ecbf7130302bb73f5bf596fa7a277f7f95f96f2c04750a81d612eefaef

Contents?: true

Size: 262 Bytes

Versions: 4

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

4 entries across 4 versions & 4 rubygems

Version Path
foodie_kevinbudd-0.1.0 lib/foodie/food.rb
bundle_gem_foodie-0.0.1 lib/foodie/food.rb
foodie-cli-0.1.0 lib/foodie/food.rb
mnwani-foodie-0.1.0 lib/foodie/food.rb