Ruby, 11 bytes ->n{"%b"%n} Simple string formatting. Try it online!
posted 3y ago by snail_
# [Ruby], 11 bytes ```ruby ->n{"%b"%n} ``` Simple string formatting. [Try it online!][TIO-kt289gq4] [Ruby]: https://www.ruby-lang.org/ [TIO-kt289gq4]: https://tio.run/##KypNqvyfZvtf1y6vWkk1SUk1r/Z/QWlJsUKanoZjkHtYtEGsXkl@fKbm//@GBgA "Ruby – Try It Online"