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
13
Arrays
2
Data Science
1
Date Time
33
Filtering
1
Fundamentals
16
Geometry
1
Mathematics
2
Parsing
2
Puzzles
2
Refactoring
1
Regular Expressions
3
Restricted
1
Sorting
1
Strings
5
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
33 Kata Found
7 kyu
Time Converter: hours, minutes, seconds and milliseconds
1,168
srMarquinho
Date Time
Parsing
Refactoring
6 kyu
Cuckoo Clock
1,312
brodiemark
Strings
Date Time
7 kyu
regex validation of 24 hours time.
1,943
daymos
5 Issues Reported
Regular Expressions
Date Time
Fundamentals
4 kyu
Human readable duration format
87,194
davazp
5 Issues Reported
Strings
Date Time
Algorithms
7 kyu
Elapsed Seconds
8,700
jhoffner
1 Issue Reported
Date Time
Fundamentals
7 kyu
Find Your Villain Name
5,020
yaphi1
3 Issues Reported
Arrays
Date Time
Fundamentals
6 kyu
Sorting Time
184
Aquila
Sorting
Arrays
Algorithms
Date Time
6 kyu
The latest clock
2,950
nirgn
Date Time
Fundamentals
Algorithms
7 kyu
Leap Years
42,186
BattleRattle
1 Issue Reported
Date Time
Algorithms
8 kyu
Remove the time
18,668
radiocontrolled
3 Issues Reported
Date Time
Parsing
Fundamentals
8 kyu
Is your period late?
12,015
int3_0xcc
Fundamentals
Date Time
7 kyu
Countdown to Christmas
690
PG1
1 Issue Reported
Date Time
Algorithms
7 kyu
Decimal Time Conversion
1,253
Galvlbit
Fundamentals
Algorithms
Date Time
Strings
6 kyu
Simple time difference
1,524
KenKamau
3 Issues Reported
Algorithms
Date Time
Strings
7 kyu
Log without dates
1,525
DworkinFromChaos
Date Time
Filtering
6 kyu
What century is it?
11,539
user1511460
1 Issue Reported
Strings
Algorithms
Date Time
7 kyu
Can Santa save Christmas?
4,493
zruF
Date Time
Fundamentals
7 kyu
Unlucky Days
16,156
suic
Date Time
7 kyu
Milk and Cookies for Santa
6,727
xDranik
1 Issue Reported
Date Time
Fundamentals
6 kyu
Pretty date
889
burce
Date Time
Fundamentals
7 kyu
Converting 12-hour time to 24-hour time
4,385
Fantomius
Date Time
Algorithms
7 kyu
After(?) Midnight
1,200
Aquila
Date Time
Algorithms
5 kyu
validDate Regex
1,862
wthit56
4 Issues Reported
Date Time
Regular Expressions
Fundamentals
7 kyu
#~For Kids~# d/m/Y -> Day of the week.
977
ALNeneve
Fundamentals
Date Time
6 kyu
Angle Between Clock Hands
3,451
animatedgif
2 Issues Reported
Mathematics
Date Time
Algorithms
7 kyu
[Code Golf] Length of Month
499
anter69
Restricted
Date Time
Puzzles
6 kyu
Data Analysis Following Migration
108
anter69
Date Time
Algorithms
Data Science
Beta
Find the longest streak
24
yorg
2 Issues Reported
Status:
Waiting for issues to be resolved
Estimated Rank:
6 kyu
Date Time
Algorithms
Beta
Call Center Call Backs
40
tormod17
5 Issues Reported
Status:
Waiting for issues to be resolved
Fundamentals
Date Time
Regular Expressions
Beta
Event Date Dilemma
23
westonkd
2 Issues Reported
Status:
Testing & feedback needed
Date Time
Fundamentals
Loading...
Confirm
Collect:
undefined
Loading collection data...