Sha256: cd36c713e748b800602054c6a684641ed36ff6867f8c62c07facca90942e0c3a

Contents?: true

Size: 266 Bytes

Versions: 1

Compression:

Stored size: 266 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-0.0.1 lib/foodie/food.rb