Category: Ruby

  • How to Run an HTTP Server and Un Library Using Ruby

    How to Run an HTTP Server and Un Library Using Ruby

    You can run an HTTP server to serve files out of the current directory but it won’t be that simple and easy.   Not even by using WEBrick that you can simplify things in running an HTTP server.  It is not that simple and easy to remember things such as that!     But things can…

  • Fizz Buzz Test in Ruby : Are You up for the Challenge?

    Fizz Buzz Test in Ruby : Are You up for the Challenge?

    To eliminate unqualified candidates in a programming job, they are given a basic programming task called fizz buzz test.  While the fizz buzz may not be designed as the final examination, it serves its purpose of helping hiring officers to know the potential candidates.     Don’t get us wrong for the actual program you…

  • Ruby : Regular Expression for Quick Extraction

    Ruby : Regular Expression for Quick Extraction

    For those who are not familiar with Ruby, it is an object-oriented, open-source and general-purpose programming language which aims for focus and simplicity.   Many programming languages today utilize regular expressions to simplify things but Ruby tops them all.  It has prepared a number of tricks that can make it much easier to work with.…