Sha256: 987b8d0caa2fecb756250f4ba1f02a5676a7d1917ec66e92827e53638196c870
Contents?: true
Size: 368 Bytes
Versions: 1
Compression:
Stored size: 368 Bytes
Contents
# frozen_string_literal: true require 'active_support/inflector' # To load this file, we’ll need to add a require line to 'lib/foodie.rb' 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-ingmarsk-0.1.0 | lib/foodie/food.rb |