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
6 kyu
Split Strings
166,898
jhoffner
Regular Expressions
Strings
Algorithms
5 kyu
ISBN-10 Validation
11,371
nklein
4 Issues Reported
Regular Expressions
Algorithms
6 kyu
FIRE and FURY
1,313
dinglemouse
1 Issue Reported
Regular Expressions
Strings
Algorithms
5 kyu
Return substring instance count - 2
3,171
ineiti
2 Issues Reported
Strings
Regular Expressions
Algorithms
7 kyu
Password validator
8,176
tdowek1
1 Issue Reported
Fundamentals
Regular Expressions
Algorithms
7 kyu
80's Kids #5: You Can't Do That on Television
1,689
NateBrady23
1 Issue Reported
Fundamentals
Algorithms
Strings
Regular Expressions
7 kyu
Coding Meetup #3 - Higher-Order Functions Series - Is Ruby coming?
10,965
PiotrBerebecki
Data Structures
Fundamentals
Algorithms
Strings
Regular Expressions
Arrays
Functional Programming
6 kyu
Valid Phone Number
20,609
xDranik
3 Issues Reported
Regular Expressions
Algorithms
7 kyu
UVB-76 Message Validator
1,115
Drymonade
Algorithms
Strings
Regular Expressions
6 kyu
Linux history and `!` command. Series#5 The `!?string` command
299
nbeck
1 Issue Reported
Strings
Parsing
Regular Expressions
Algorithms
6 kyu
Linux history and `!` command. Series#4 The `!string` command
292
nbeck
3 Issues Reported
Strings
Parsing
Regular Expressions
Algorithms
6 kyu
Linux history and `!` command. Series#3 The `!-n` command
300
nbeck
3 Issues Reported
Strings
Parsing
Regular Expressions
Algorithms
6 kyu
Linux history and `!` command. Series#2 The `!n` command
411
nbeck
Strings
Parsing
Regular Expressions
Algorithms
6 kyu
Linux history and `!` command. Series#1 The `!!` command
639
nbeck
Strings
Parsing
Regular Expressions
Algorithms
7 kyu
Is that a real phone number? (British version)
1,435
lucyrose93
1 Issue Reported
Regular Expressions
Strings
Algorithms
6 kyu
Convert string to camel case
203,659
jhoffner
20 Issues Reported
Regular Expressions
Algorithms
Strings
6 kyu
Simple Barcode Scanner
262
furbrain
1 Issue Reported
Regular Expressions
Algorithms
7 kyu
Remove consecutive duplicate words
7,751
e.mihaylin
Strings
Regular Expressions
Algorithms
6 kyu
Converting Measures
472
PollyRibeiro
Regular Expressions
Algorithms
6 kyu
Vowel Shifting
1,545
user5036852
1 Issue Reported
Strings
Regular Expressions
Algorithms
6 kyu
Trumpness detector
1,140
GiacomoSorbi
3 Issues Reported
Regular Expressions
Strings
Algorithms
6 kyu
Evil Autocorrect Prank
5,263
yaphi1
3 Issues Reported
Strings
Regular Expressions
Algorithms
5 kyu
ROT13
28,564
hvaara
Strings
Ciphers
Regular Expressions
Algorithms
6 kyu
Pete's inappropriate speech
375
GiacomoSorbi
1 Issue Reported
Regular Expressions
Strings
Algorithms
5 kyu
Simple Pig Latin
170,510
user2505876
11 Issues Reported
Regular Expressions
Algorithms
5 kyu
Convert PascalCase string into snake_case
15,850
OlgaGr
4 Issues Reported
Strings
Algorithms
Regular Expressions
7 kyu
Coding Meetup #4 - Higher-Order Functions Series - Find the first Python developer
10,017
PiotrBerebecki
Functional Programming
Data Structures
Arrays
Fundamentals
Algorithms
Strings
Regular Expressions
7 kyu
How many points did the teams from Los Angeles score?
947
PiotrBerebecki
Algorithms
Data Structures
Arrays
Regular Expressions
6 kyu
We are the Robots d[(0)(0)]b
316
user8476848
2 Issues Reported
Algorithms
Data Structures
Regular Expressions
Puzzles
Strings
6 kyu
Enigeliisohe too Eniigeeliiisoohee Toroanisoliatooro
528
DonaldKronos
5 Issues Reported
Regular Expressions
Strings
Algorithms
Loading...
Confirm
Collect:
undefined
Loading collection data...