Sha256: 1f4cbd10136697cbda78123c18a9c92ea5cc7c24d41d4ade5fb03e5177a41c02

Contents?: true

Size: 324 Bytes

Versions: 1

Compression:

Stored size: 324 Bytes

Contents

require 'active_support/inflector'

module Gemzinha
  class Food
    def self.portray(food)
      if food.downcase == "broccoli"
        "Gross!"
      else
        "Delicious!"
      end
    end

    def self.pluralize(word)
      word.pluralize
    end

    def self.hello_world
      puts "Hello Earth"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gemzinha-0.2.0 lib/gemzinha/food.rb