What can you make in Ruby?
Things That You Can Make With Ruby
- Full-stack web development.
- Web scraping & crawling.
- Static website generators.
- Command-line media player (using FFI + libVLC) & other command-line tools.
- Automation, Backup & DevOps tools.
- Servers.
- Parsing, data cleaning & filtering.
- API Clients (like Twitter API or Github API)
Is Ruby an ooo?
Ruby is a pure OO language that can masquerade as a procedural one. It has no functions, only method calls. Ruby, like Smalltalk, only supports single inheritance, but it does have a very powerful mixin concept: a class definition may include a module, which inserts that module’s methods, constants, etc.
What is special about Ruby?
Ruby supports multiple programming paradigms, such as procedural programming, object-oriented programming, as well as functional programming, which makes it unique in the programming world. Ruby Interpreter (Interactive Ruby/irb) can be used as a calculator.
What is encapsulation in Ruby?
Encapsulation is defined as the wrapping up of data under a single unit. It is the mechanism that binds together code and the data it manipulates. Encapsulation can be achieved by declaring all the variables in the class as private and writing public methods in the class to set and get the values of variables.
What are not objects in Ruby?
It’s not even strictly true; not everything in Ruby is an object. However, anything that can be said to have a value is an object: that includes numbers, strings, arrays, and even classes and modules. However, there are a few things that are not objects: methods, blocks, and variables are three that stand out.
Does Ruby have data types?
Data types in Ruby represent different categories of data such as text, string, numbers, etc. Since Ruby is an object-oriented language, all its supported data types are implemented as classes.