Sha256: bd5e8d88bcda4494a63dc44cb64fef3f00d60328276804150cc01f7a9ab402bf

Contents?: true

Size: 267 Bytes

Versions: 1

Compression:

Stored size: 267 Bytes

Contents

require 'active_support/inflector'

module FoodieMaful
  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_maful-0.1.0 lib/foodie_maful/food.rb