Sha256: d3c8b5eb4515d59944789cffbd6bffd11884b7baf6135af63a147fe627c86a33
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 |
---|---|
shaliu_foodie-0.4.0 | lib/foodie/food.rb |