Sha256: cd44731882feb6f9274c701c3986628515609a202ccee12bf10b3b8f19c39d34
Contents?: true
Size: 264 Bytes
Versions: 1
Compression:
Stored size: 264 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 |
---|---|
ryoung-foodie-0.0.3 | lib/foodie/food.rb |