Kata Library: Ruby Practice
Sign Up
Time to claim your honor
Training
Practice
Complete challenging
Kata
to earn honor and ranks. Re-train to hone technique
Freestyle Sparring
Take turns remixing and refactoring others code through
Kumite
Community
Leaderboards
Achieve honor and move up the global leaderboards
Chat
Join our
Discord
server and chat with your fellow code warriors
Discussions
View our
Github Discussions
board to discuss general Codewars topics
About
Docs
Learn about all of the different aspects of Codewars
Blog
Read the latest news from Codewars and the community
Log In
Sign Up
Library
Collections
Newest
Oldest
Popularity
Positive Feedback
Most Completed
Least Completed
Hardest
Easiest
Name
Relevance
Low Satisfaction
All
My Languages
Agda (Beta)
BF (Beta)
C
CFML (Beta)
Clojure
COBOL (Beta)
CoffeeScript
CommonLisp (Beta)
Coq
C++
Crystal
C#
D (Beta)
Dart
Elixir
Elm (Beta)
Erlang (Beta)
Factor (Beta)
Forth (Beta)
Fortran (Beta)
F#
Go
Groovy
Haskell
Haxe (Beta)
Idris (Beta)
Java
JavaScript
Julia (Beta)
Kotlin
λ Calculus (Beta)
Lean
Lua
NASM
Nim (Beta)
Objective-C (Beta)
OCaml (Beta)
Pascal (Beta)
Perl (Beta)
PHP
PowerShell (Beta)
Prolog (Beta)
PureScript (Beta)
Python
R (Beta)
Racket
Raku (Beta)
Reason (Beta)
RISC-V (Beta)
Ruby
Rust
Scala
Shell
Solidity (Beta)
SQL
Swift
TypeScript
VB (Beta)
Approved & Beta
Approved
Beta
All
Kata I have not trained on
Kata I have not completed
Kata I have completed
8 kyu
easiest
7 kyu
6 kyu
5 kyu
4 kyu
3 kyu
2 kyu
1 kyu
hardest
Algorithms
22
Arrays
2
Binary
1
Bits
1
Compilers
1
Date Time
2
Esoteric Languages
1
Fundamentals
12
Games
1
Interpreters
2
Logic
2
Mathematics
3
Parsing
35
Recursion
1
Refactoring
1
Regular Expressions
12
Strings
23
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
35 Kata Found
8 kyu
Convert a String to a Number!
292,400
bkaes
Parsing
Strings
Fundamentals
4 kyu
Simplifying multilinear polynomials
5,104
SleepingCode
3 Issues Reported
Mathematics
Strings
Regular Expressions
Parsing
Fundamentals
7 kyu
Line Type Parser
1,184
adamwhittingham
Strings
Parsing
Algorithms
4 kyu
Breadcrumb Generator
4,836
GiacomoSorbi
Parsing
Regular Expressions
Algorithms
7 kyu
Time Converter: hours, minutes, seconds and milliseconds
1,167
srMarquinho
Date Time
Parsing
Refactoring
7 kyu
Hashtaggery
837
Lordnibbler
Regular Expressions
Fundamentals
Strings
Parsing
6 kyu
Linux history and `!` command. Series#5 The `!?string` command
302
nbeck
1 Issue Reported
Strings
Parsing
Regular Expressions
Algorithms
6 kyu
Linux history and `!` command. Series#4 The `!string` command
296
nbeck
3 Issues Reported
Strings
Parsing
Regular Expressions
Algorithms
6 kyu
Linux history and `!` command. Series#3 The `!-n` command
307
nbeck
3 Issues Reported
Strings
Parsing
Regular Expressions
Algorithms
6 kyu
Linux history and `!` command. Series#2 The `!n` command
419
nbeck
Strings
Parsing
Regular Expressions
Algorithms
6 kyu
Linux history and `!` command. Series#1 The `!!` command
644
nbeck
Strings
Parsing
Regular Expressions
Algorithms
8 kyu
Remove the time
18,665
radiocontrolled
3 Issues Reported
Date Time
Parsing
Fundamentals
7 kyu
char_to_ascii
1,663
kromitj
3 Issues Reported
Strings
Parsing
Fundamentals
7 kyu
Correct the date-string
486
user5036852
Parsing
Strings
Fundamentals
6 kyu
Parse HTML/CSS Colors
2,785
junthecoder
2 Issues Reported
Fundamentals
Algorithms
Strings
Parsing
7 kyu
Correct the time-string
5,375
user5036852
3 Issues Reported
Parsing
Strings
Fundamentals
6 kyu
Reverse polish notation calculator
11,523
vgrichina
4 Issues Reported
Algorithms
Mathematics
Interpreters
Parsing
Strings
7 kyu
Convert an array of strings to array of numbers
16,746
romerojp
Arrays
Parsing
Strings
Fundamentals
4 kyu
parseInt() reloaded
19,010
BattleRattle
6 Issues Reported
Parsing
Strings
Algorithms
6 kyu
Make the Deadfish Swim
39,545
NullData
2 Issues Reported
Parsing
Algorithms
2 kyu
Evaluate mathematical expression
9,937
ankr
22 Issues Reported
Mathematics
Parsing
Algorithms
6 kyu
Acronym Buster
550
pbywater
5 Issues Reported
Regular Expressions
Parsing
Strings
Algorithms
5 kyu
Convert A Hex String To RGB
16,110
Krxtopher
Parsing
Strings
Algorithms
1 kyu
To BrainFuck Transpiler
220
ZED.CWT
7 Issues Reported
Esoteric Languages
Parsing
Compilers
5 kyu
Extract the domain name from a URL
85,815
xianpants
13 Issues Reported
Parsing
Regular Expressions
5 kyu
Ninety Nine Thousand Nine Hundred Ninety Nine
1,045
jimmylorunning
1 Issue Reported
Strings
Parsing
Algorithms
2 kyu
Simpler Interactive Interpreter
3,145
Wintermute
19 Issues Reported
Interpreters
Parsing
Algorithms
6 kyu
Music Fun #1 - Major Scale
259
smokinhiro
Algorithms
Strings
Parsing
Logic
Fundamentals
7 kyu
Strange Strings Parser!
1,068
tink3r
1 Issue Reported
Parsing
Strings
Algorithms
6 kyu
Turn String Input into Hash
2,741
user4655293
Parsing
Algorithms
Loading...
Confirm
Collect:
undefined
Loading collection data...