MENU
Home
News
Tutorials
Blogs
Videos
Jobs
Conferences
Events
Books
Gems
Services
Other
About
Home
Categories
11843
today
Tutorials
IO readlines now accepts chomp flag as an argument | BigBinary Blog
Since it was a common requirement, Ruby team decided to add an optional parameter to the readlines method. So the same can now be achieved in Ruby 2.4 in the following way.
Unicode Normalization in Ruby
Using normalization, you can take many Unicode strings that behaved unexpectedly in my tests and convert them into strings that play well with Ruby's string methods.
Towards Minimal, Idiomatic, and Performant Ruby Code
I try to embrace a particular way of working with code: it should be minimal, idiomatic, and performant by default. Sometimes it is necessary to trade performance for readability, or readability.
How to Make Your Classes More Powerful by Implementing Equality
How do you compare two things in Ruby? Using == as you already know... but did you know that == is a method
Let Gemfile be machine-writable – Medium
I really love Bundler that it lets us write Ruby for its configuration. We don’t have to learn new language — you should writing Ruby when you are using Bundler! If you need, you can write any.
Write expressive tests by mastering RSpec matchers – RubyTapas
RSpec is the Cadillac Escalade of testing frameworks. It does its best to give you a comfortable, feature-rich, even luxurious testing environment. Some programmers love it for this reason.
How to Cleanly Test Rails Rake Tasks with RSpec — We Test Rails
When you need to test Rake tasks for a Rails app, its convenient to be able to write short, snappy specs like so:
Lessons learned and Code Smells detected with Reek
From the several static analysis tools we support on Ebert, Reek has become one of the most important tools that helps our team to write better Ruby code. Unlike most tools, Reek is not..
Turbolinks lifecycle explained
Website and blog of Artur Roszczyk, Freelance Software Solutions Architect and Ruby Programmer.
Objects as Ruby Hash Keys
If you've been following the Ruby 3x3 effort, you've probably heard of Optcarrot. It's an NES emulator written in pure Ruby.
<
1
…
236
237
238
239
240
…
252
>
Visit our quiz
Categories
News
Tutorials
Blogs
Videos
Jobs
Conferences
Events
Books
Gems
Services
Other