T
T
ToshiDono2015-12-07 14:13:56
ruby
ToshiDono, 2015-12-07 14:13:56

How to register for codewars?

Just started learning Ruby. There are no tasks at all in the books to consolidate the material. I found codewars.com, tried it in incognito mode, liked it, decided to register and... ran into a problem. I can't figure out how to register there. It is clear that you need to enter your data in the code, but the site does not accept any of the options.
Please tell me what the code should look like.
I understand that "you need to solve a couple of problems." Please do NOT write about it. Better answer to the point. What do you need to write to register.
This is the code in the registration form:
class Person
def initialize(name)
@name = name
end
def greet(other_name)
"Hi #{other_name}, my name is #{name}"
end
end
PS: and yes, I'm a beginner and I'm not familiar with OOP yet.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
N. Bekseitov, 2015-12-07
@nbekseitov

If you can't solve the problems when registering, then it's too early.
Here is a list of resources to practice
If you are new to OOP Ruby: introducing-ruby-oop

D
Dima, 2015-12-07
@MAXOPKA

In order to register, you need to know Ruby.

S
s0ci0pat, 2015-12-07
@s0ci0pat

We need to solve a couple of simple problems.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question