require "pivorak/version" module Pivorak class Mark attr_reader :point def initialize(point) @point = point end def feedback case point when -1 then 'Pffffff... where is your homework?' when 0 then 'Not nice. You should try better next time' when 1 then 'Good job!' else 'Wowow... only -1, 0 or 1 allowed' end end end end