Sha256: d2a715d40a4eac8951b35fdcaf93d9a1ec697fe58ddaf7712169adbaf66b8c13
Contents?: true
Size: 387 Bytes
Versions: 13
Compression:
Stored size: 387 Bytes
Contents
# file: spec/fixtures/demo1.rb # from: https://github.com/radar/guides/blob/master/gem-development/foodie/lib/foodie/food.rb 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
13 entries across 13 versions & 1 rubygems