Tutorials
Courses
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
32.1K+ articles
DSA
20.0K+ articles
Python
19.6K+ articles
Experiences
15.8K+ articles
Interview Experiences
14.2K+ articles
School Learning
11.1K+ articles
JavaScript
9.9K+ articles
Java
9.3K+ articles
Misc
7.8K+ articles
Ruby
1.2K+ articles
Ruby Keyword
7 posts
Recent Articles
Popular Articles
not Keyword in Ruby
Last Updated: 27 July 2020
The keyword “not” is different from the others. The "not" keyword gets an expression and inverts its boolean value – so given a true condition it will return false. It wor...
read more
Ruby
Ruby Keyword
Or Keyword in Ruby
Last Updated: 27 July 2020
In Ruby, "or" keyword returns the logical disjunction of its two operands. The condition becomes true if both the operands are true. It returns “true” when any one conditi...
read more
Ruby
Ruby Keyword
And Keyword in Ruby
Last Updated: 13 April 2021
The and keyword in Ruby takes two expressions and returns "true" if both are true, and "false" if one or more of them is false. This keyword is an equivalent of logical o...
read more
Ruby
Ruby Keyword
Defined? Keyword in Ruby
Last Updated: 21 July 2021
Ruby provides a special keyword which is known as define? keyword. This keyword is used to check if the passed expression is defined or not. This keyword will return a str...
read more
Ruby
Ruby Keyword
Undef keyword in Ruby
Last Updated: 23 July 2021
Ruby provides a special keyword which is known as undef keyword. This keyword used to avoid the current working class from responding to calls to the specified named metho...
read more
Ruby
Ruby Keyword
Ruby Hook Methods
Last Updated: 12 July 2025
Ruby Hook Methods are called in reaction to something you do. They are usually used to extend the working of methods at run time. These methods are not defined by default,...
read more
Technical Scripter
Ruby
Picked
Ruby-OOP
Ruby Keyword
Include v/s Extend in Ruby
Last Updated: 10 January 2023
Include is used to importing module code. Ruby will throw an error when we try to access the methods of import module with the class directly because it gets imported as a...
read more
Ruby
Picked
Ruby Keyword
Ruby modules
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !