• 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
luminaire Avatar
Name:Unknown
Clan:Sogeti
Member Since:Dec 2015
Last Seen:May 2016
Profiles:
    Following:54
    Followers:53
    Allies:53
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (17)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • rslhdyt
      • commented on "Printer Errors" ruby solution
      • 13 months ago

      the code and explanation is amazing

    • Custom User Avatar
      • hannahdesmond
      • commented on "Printer Errors" ruby solution
      • 5 years ago

      Thank you for this!

    • Custom User Avatar
      • hannahdesmond
      • commented on "Printer Errors" ruby solution
      • 5 years ago

      That's great, thanks Alexandre. I'll go through the documentation!

    • Custom User Avatar
      • alexplatteeuw
      • commented on "Printer Errors" ruby solution
      • 5 years ago

      Thank you so much for taking the time to answer!

    • Custom User Avatar
      • Insti
      • commented on "Printer Errors" ruby solution
      • 5 years ago

      See my reply below

    • Custom User Avatar
      • Insti
      • commented on "Printer Errors" ruby solution
      • 5 years ago

      This comment is hidden because it contains spoiler information about the solution

    • Custom User Avatar
      • alexplatteeuw
      • commented on "Printer Errors" ruby solution
      • 5 years ago

      This comment is hidden because it contains spoiler information about the solution

    • Custom User Avatar
      • bigcachemoney
      • commented on "Printer Errors" ruby solution
      • 5 years ago

      This comment is hidden because it contains spoiler information about the solution

    • Custom User Avatar
      • mark1nhu
      • commented on "Simple validation of a username with regex" ruby solution
      • 6 years ago

      double banging is definitely not a best practice in the ruby world

    • Custom User Avatar
      • LaurenLau
      • commented on "Printer Errors" ruby solution
      • 6 years ago

      This comment is hidden because it contains spoiler information about the solution

    • Custom User Avatar
      • zacharywhite1
      • commented on "Printer Errors" ruby solution
      • 7 years ago

      The description specifically states that the string will consist only of letters a-z. So in practive your solution would be best, but in the context of this kata, the OP's is fine.

    • Custom User Avatar
      • ottagit
      • commented on "Printer Errors" ruby solution
      • 8 years ago

      Rubyish indeed!!

    • Custom User Avatar
      • Insti
      • commented on "Printer Errors" ruby solution
      • 9 years ago

      That input is invalid:

      The string has a length greater or equal to one and contains only letters from a to z.

    • Custom User Avatar
      • itsmesamster
      • commented on "Printer Errors" ruby solution
      • 9 years ago

      printer_error("1234asff") will give 1/8 which does not seem to be the correct answer.

    • Custom User Avatar
      • user2521373
      • commented on "Printer Errors" ruby solution
      • 9 years ago

      Nice~

    • Loading more items...
    • © 2025 Codewars
    • About
    • API
    • Blog
    • Privacy
    • Terms
    • Code of Conduct
    • Contact

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...