View mores_code.rb
#################################################################
# A solution to the Ruby Quiz: http://rubyquiz.com/quiz121.html #
#################################################################
INPUT = "...---..-....-" # Eugenia or Sofia
HELLO = "......-...-..---" # Hello
OK = "----.-" # Ok or Toa
class Morse
LETTERS_REPRESENTATION = {
View tennis_game_kata.rb
# Kata description: http://codingdojo.org/cgi-bin/index.pl?KataTennis
module Tennis
class Player
attr_reader :name, :points_won
def initialize(name)
@name = name
@points_won = 0
end