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
53
Arrays
9
Ciphers
2
Cryptography
1
Data Structures
9
Domain Specific Languages
1
Filtering
1
Functional Programming
4
Fundamentals
11
Number Theory
1
Parsing
7
Puzzles
4
Regular Expressions
53
Security
1
Strings
38
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
53 Kata Found
7 kyu
UVB-76 Message Validator
1,173
Drymonade
Algorithms
Strings
Regular Expressions
6 kyu
FIRE and FURY
1,546
dinglemouse
1 Issue Reported
Regular Expressions
Strings
Algorithms
7 kyu
Coding Meetup #4 - Higher-Order Functions Series - Find the first Python developer
10,360
PiotrBerebecki
Functional Programming
Data Structures
Arrays
Fundamentals
Algorithms
Strings
Regular Expressions
6 kyu
IP Validation
44,392
wink
4 Issues Reported
Regular Expressions
Algorithms
7 kyu
Coding Meetup #2 - Higher-Order Functions Series - Greet developers
12,827
PiotrBerebecki
Data Structures
Fundamentals
Algorithms
Strings
Regular Expressions
Arrays
Functional Programming
7 kyu
Coding Meetup #1 - Higher-Order Functions Series - Count the number of JavaScript developers coming from Europe
16,572
PiotrBerebecki
Data Structures
Fundamentals
Algorithms
Strings
Regular Expressions
Arrays
Functional Programming
4 kyu
Breadcrumb Generator
4,839
GiacomoSorbi
Parsing
Regular Expressions
Algorithms
6 kyu
Valid Phone Number
21,372
xDranik
3 Issues Reported
Regular Expressions
Algorithms
6 kyu
Split Strings
169,182
jhoffner
Regular Expressions
Strings
Algorithms
5 kyu
ISBN-10 Validation
11,626
nklein
4 Issues Reported
Regular Expressions
Algorithms
5 kyu
Return substring instance count - 2
3,220
ineiti
2 Issues Reported
Strings
Regular Expressions
Algorithms
7 kyu
Password validator
8,385
tdowek1
1 Issue Reported
Fundamentals
Regular Expressions
Algorithms
7 kyu
80's Kids #5: You Can't Do That on Television
1,711
NateBrady23
1 Issue Reported
Fundamentals
Algorithms
Strings
Regular Expressions
7 kyu
Coding Meetup #3 - Higher-Order Functions Series - Is Ruby coming?
11,113
PiotrBerebecki
Data Structures
Fundamentals
Algorithms
Strings
Regular Expressions
Arrays
Functional Programming
6 kyu
Linux history and `!` command. Series#5 The `!?string` command
303
nbeck
1 Issue Reported
Strings
Parsing
Regular Expressions
Algorithms
6 kyu
Linux history and `!` command. Series#4 The `!string` command
297
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
645
nbeck
Strings
Parsing
Regular Expressions
Algorithms
7 kyu
Is that a real phone number? (British version)
1,458
lucyrose93
1 Issue Reported
Regular Expressions
Strings
Algorithms
6 kyu
Convert string to camel case
206,344
jhoffner
20 Issues Reported
Regular Expressions
Algorithms
Strings
6 kyu
Simple Barcode Scanner
264
furbrain
1 Issue Reported
Regular Expressions
Algorithms
7 kyu
Remove consecutive duplicate words
7,791
e.mihaylin
Strings
Regular Expressions
Algorithms
6 kyu
Converting Measures
480
PollyRibeiro
Regular Expressions
Algorithms
6 kyu
Vowel Shifting
1,565
user5036852
1 Issue Reported
Strings
Regular Expressions
Algorithms
6 kyu
Trumpness detector
1,146
GiacomoSorbi
3 Issues Reported
Regular Expressions
Strings
Algorithms
6 kyu
Evil Autocorrect Prank
5,274
yaphi1
3 Issues Reported
Strings
Regular Expressions
Algorithms
5 kyu
ROT13
29,061
hvaara
Strings
Ciphers
Regular Expressions
Algorithms
6 kyu
Pete's inappropriate speech
380
GiacomoSorbi
1 Issue Reported
Regular Expressions
Strings
Algorithms
5 kyu
Simple Pig Latin
172,192
user2505876
11 Issues Reported
Regular Expressions
Algorithms
Loading...
Confirm
Collect:
undefined
Loading collection data...