Sha256: eee08b4e7d4bb720c53af1c23110edc5bdf57b0d079b857ab31f0794ddb41307

Contents?: true

Size: 263 Bytes

Versions: 1

Compression:

Stored size: 263 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

1 entries across 1 versions & 1 rubygems

Version Path
foodie_daps-0.1.0 lib/foodie/food.rb