Sha256: 2ebfb16640067a2ce6ca4eb585270aaa622b83d5cf60c4ded332c898adefb9d0
Contents?: true
Size: 311 Bytes
Versions: 1
Compression:
Stored size: 311 Bytes
Contents
require 'active_support/inflector' module SajadFoodie class Food def self.portray(food) case food.downcase when 'broccoli' 'Gross!' when 'apple' 'Meh.' 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 |
---|---|
sajad_foodie-0.1.1 | lib/sajad_foodie/food.rb |