1 # file: spec/fixtures/demo1.rb
 2 # from: https://github.com/radar/guides/blob/master/gem-development/foodie/lib/foodie/food.rb
 3 require 'active_support/inflector'
 4 module Foodie
 5   class Food
 6     def self.portray(food)
 7       if food.downcase == "broccoli"
 8         "Gross!"
 9       else
10         "Delicious!"
11       end
12     end
13 
14     def self.pluralize(word)
15       word.pluralize
16     end
17   end
18 end