RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Submit a post

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

Rearmed-JS - A library inspired by Ruby to make your JS code readable & relaxing

While working with some basic constructs in Javascript, I always get choked up trying to do something that should have been a dead simple iteration method or string method in Ruby, yet it ends up being the most disgusting code ever. Well I have written a library Rearmed-JS that solves a large part of this problem by taking inspiration from Ruby. This library is a collection of helpful methods and monkey patches for Arrays, Objects, Numbers, and Strings that will make your code more relaxing and more readable by taking inspiration from Ruby. Works in the browser and NodeJS. https://github.com/westonganger/rearmed-js

2 Easy Ways to Check Code Coverage

If you find yourself reviewing code (your own or a teammate’s) you’ll probably want to know about the code coverage any changes. This post walks through a couple ways to easily find out which parts of changed code are covered.

tty-prompt v0.14.0 with improved input editing

The newest release of tty-prompt fixes many issues with processing and editing input, which includes pasting long strings as input or content wrapping terminal width. The slider prompt also has new UI, configuration options and behaviour. Check it out if you’re building a shiny CLI tool! Happy New Year!

Programming Cryptocurrencies and Blockchains in Ruby - Free Online Book (in Beta)

Why not learn and build your own cryptos in 2018?! I’ve put together a new free (online) book: Programming Cryptocurrencies and Blockchains in Ruby (Beta / Rough Draft) @ Yuki & Moto Press Bookshelf. The book incl. merkle trees, central banks, shilling, crypto kitties & copycats and, of course, tulips (on the blockchain) :-) and more. Happy new year. Prosit 2018! Cheers.

Loading older posts