Learn RubyShyam Bharath S.D. - Computers This book covers the following topics in Ruby. Ruby: Getting Started Ruby Introduction Ruby Development Environment Ruby Comments Ruby Variables Ruby Functions Ruby Data Types Ruby Operators Ruby Conditional Statements Ruby Loops Ruby Arrays Ruby Strings Ruby Modules Ruby Object Oriented Programming Ruby Classes Ruby Initializer Ruby Access Modifiers Ruby Inheritance Ruby Polymorphism Ruby Static Members Ruby Inner Classes Core Ruby: Collections & Data Structures Ruby Hashes Core Ruby: Advanced Topics Ruby Exception Handling Ruby Operator Overloading Ruby Multithreading Ruby I/O Ruby Files I/O Ruby Serialization Ruby Database Connectivity Ruby Networking |
Contents
Section 1 | 3 |
Section 2 | |
Section 3 | |
Section 4 | |
Section 5 | |
Section 6 | |
Section 7 | |
Section 8 | |
Section 14 | |
Section 15 | |
Section 16 | |
Section 17 | |
Section 18 | |
Section 19 | |
Section 20 | |
Section 21 | |
Section 9 | |
Section 10 | |
Section 11 | |
Section 12 | |
Section 13 | |
Section 22 | |
Section 23 | |
Section 24 | |
Section 25 | |
Section 26 | |
Common terms and phrases
accountBalance Animal def makeNoise animal.makeNoise array assignment operator Bitwise Check class called class Employee Code condition constructor data type dbConnection def getEmployeeId return def getEmployeeName return def makeNoise puts def setEmployeeId(empId Dubai empId end def Employee class Employee.new employee1 employeeCount employeeId end def empName end def end def getEmployeeId end def getEmployeeName end def setEmployeeName(empName end end class end Output end puts example exception handling function overloads getEmployeeId return employeeId getEmployeeName return employeeName Hashes Hello World HurrDurr Inner class Instance variables Integer iterate Jupiter & Saturn lastname left and right left operand line1 line2 loop Meeaaowwww module Mugambo NetBeans numbers operand AND assigns operand and returns Operator Overloading PHPMyAdmin pincode Protocol puts Employee ID puts Employee Name return employeeId end return employeeName end Return true right operand Ruby second.x skanda Space Elevators statement static variable String super class Ternary operator thread Timemachine Valid values Washington D.C.