TheDeveloperBlog.com

Home | Contact Us

CSharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript

Everything you need to know about ruby.

RUBY

Ruby 2D Array Examples

Ruby Case Examples: Ranges, Strings and Regexp

Ruby DateTime Examples: require date

Ruby While, Until and For Loop Examples

Ruby Convert Types: Arrays and Strings

Ruby if Examples: elsif, else and unless

Ruby Method: Def, Arguments and Return Values

Ruby Number Examples: Integer, Float, zero and eql

Ruby Random Number Generator: rand, srand

Ruby Recursion Example

Ruby Sort Arrays (Use Block Syntax)

Ruby String Array Examples

Ruby String Examples (each char, each line)

Ruby Sub, gsub: Replace String

Ruby Substring Examples

Ruby Array Examples

Ruby Class Examples: Self, Super and Module

Ruby Console: Puts, Print and stdin

Ruby Exception Examples: Begin and Rescue

Ruby Fibonacci Sequence Example

Ruby Word Count: Split Method

Ruby File Handling: File and IO Classes

Ruby Format String Examples

Ruby Copy Array Example

Ruby Hash Examples

Ruby Remove Duplicates From Array

Ruby include: Array Contains Method

Ruby Iterator: times, step Loops

Ruby Join Example (Convert Array to String)

Ruby Keywords

Ruby Math Examples: floor, ceil, round and truncate

Ruby Nil Value Examples: NoMethodError

Ruby Regexp Match Method

Ruby ROT13 Method

Ruby Split String Examples

Ruby String Length, For Loop Over Chars