class Utensils

Public Class Methods

new(culture) click to toggle source
# File lib/probable-spoon/utensils.rb, line 2
def initialize(culture)
        @culture = culture
end

Public Instance Methods

type() click to toggle source
# File lib/probable-spoon/utensils.rb, line 6
def type
        case @culture
        when "Chinese"
                "Chinese soup spoon"
        when "Harmful to planet"
                "Plastic"
        else
                "Eco-friendly Biodegradable"
        end
end