Searching for: Methods in Ruby
Throw and Catch
Language: Ruby

Used to exit a block of code upon catching an error. A method throws an error. A catch block catches an error and exits if a method or code within the block throws an error.

Class Declaration & Structure
Language: Ruby

Classes are a blueprint for creating individual objects that contain the general characteristics of a defined object type.

Local Variable Declaration
Language: Ruby

Used to declare a variable outside of a class.


< Previous Page   |