Skip to content
Novus Examples
rb

What is a .rb file?

text/x-ruby

Ruby (.rb) is a plain-text source file for the Ruby programming language — a dynamically typed, object-oriented scripting language known for expressive, readable syntax and blocks. Everything is an object, and it is widely used for web development (Rails), scripting, and automation.

How to use a .rb file

Use an example .rb file to test syntax highlighters, the Ruby interpreter, linters and formatters (RuboCop), and parser or language-detection tooling.

Convert a .rb file to another format

← All file formats