Sha256: e9d8a1e32dc91324b9ee4ed5058e73ca2e864f2990bb3b0b0a75c0cad1dfab4c

Contents?: true

Size: 263 Bytes

Versions: 1

Compression:

Stored size: 263 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
dakota-foodie-0.1.0 lib/foodie/food.rb