Code Editor
Learn
Methods, Blocks, & Sorting

Create Your Own

Now it's time for you to build your own method. Remember, the syntax looks like this:

def method_name # Do something! end
Report a Bug
If you see a bug or any other issue with this page, please report it here.