From the Blog
-
Ruby String Basics
Strings are a core part of the Ruby language and are constantly used when programming in Ruby. They can be either single or double quoted: You can print out strings: Strings are commonly stored in a variable: Strings are concatenated like this: Ruby strings are commonly concatenated using the `+` operator. Ruby can also concatenate…
-
Ruby off Rails
So, Ruby is well known for its hugely popular gem Rails which greatly simplifies building websites. But what are some other programs built-in Ruby? Here are a few very popular examples. RubyMotion – Develop native apps for iOS (both iPhone and iPad) and OS X in Ruby. It is based on MacRuby which was developed…
-
Naming Ruby Gems
When it comes to naming a Ruby gem, the process involves a thoughtful consideration of community conventions, creativity, and uniqueness. In this context, let’s delve into the rationale behind naming my gem “tiedye.” Community Conventions Adhering to community conventions is a crucial first step in gem naming. The convention I followed involves using underscores in…
-
Tips to be a productive developer.
1. Eat your frogs. “Eat a live frog every morning, and nothing worse will happen to you the rest of the day.” -Mark Twain Seriously. The first step is that you already know what you have to do. Just do the thing you are dreading. Defeat Bowser and then go back and smash those Koopa…