Sha256: f1c3123c74b7494ab44b7e66c7ad00a1c8bfd78c36e3fbaf058a7a9b23196e9a

Contents?: true

Size: 263 Bytes

Versions: 1

Compression:

Stored size: 263 Bytes

Contents

require 'active_support/inflector'

module Foodie2
  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
foodie2-0.0.1 lib/foodie2/food.rb