Sha256: 70d982861303f3ff8d24d0e0c1250446389905e582562be0577bb10fe946340e

Contents?: true

Size: 262 Bytes

Versions: 1

Compression:

Stored size: 262 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
darkwasp99_foodie-0.2.0 lib/foodie/food.rb