This post is about using a port so that other applications will not be able to use it in test scenarios. For instance, you have some tests that uses a mock web service and you require the use of ranges of port numbers.
Ruby – How to create a Class and its Object
This post demonstrates how to create a very simple class and to create objects from that class.
Ruby – How to Unit Test your Codes
This post demonstrates how to unit test your Ruby codes. Note that Ruby-on-Rails (RoR) is not used here.
Ruby – Basic Inheritance
This post talks about how to implement basic inheritance in Ruby using a simple example. I’ll throw in some comparisons with Java.
Ruby – Connect to MySQL without Rails
This post demonstrates how to connect to MySQL from Ruby, insert, select and delete table rows.
Ruby vs Java – Read and Write Text Files
This post demonstrates how to read and write text files in several scenarios. It makes some short references to equivalent Java concepts and codes.
Working With Dates And Times In Ruby
Without using any Ruby gems, Time is the class we can use when working with dates and times. It represents the number of seconds with fraction since the Epoch, January