Ruby: Difference between revisions
From wikinotes
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Ruby is a scripting language similar to python. | Ruby is a scripting language similar to python. | ||
= Documentation = | = Documentation = | ||
Line 61: | Line 61: | ||
</blockquote><!-- libs --> | </blockquote><!-- libs --> | ||
= | = Syntax = | ||
<blockquote> | <blockquote> | ||
{| | {| | ||
Line 89: | Line 89: | ||
| [[ruby loops]] | | [[ruby loops]] | ||
|- | |- | ||
| [[ruby | | [[ruby iterators]] | ||
|- | |- | ||
| [[ruby | | [[ruby io]] | ||
|- | |||
| [[ruby filesystem]] | |||
|- | |- | ||
| [[ruby | | [[ruby processes]] | ||
|- | |- | ||
| [[ruby matching]] | | [[ruby matching]] | ||
Line 100: | Line 102: | ||
|- | |- | ||
|} | |} | ||
</blockquote><!-- | </blockquote><!-- Syntax --> | ||
= | = Features = | ||
<blockquote> | |||
{| | |||
|- | |||
| [[ruby concurrency]] | |||
|- | |||
| [[ruby refinements]] | |||
|- | |||
| [[ruby datetimes]] | |||
|- | |||
|} | |||
</blockquote><!-- Features --> | |||
= Tools = | |||
<blockquote> | <blockquote> | ||
{| | {| | ||
Line 115: | Line 130: | ||
| [[ruby profilers]] | | [[ruby profilers]] | ||
|- | |- | ||
| [[ruby | | [[ruby complexity metrics]] | ||
|- | |||
|} | |||
</blockquote><!-- Tools --> | |||
= Examples = | |||
<blockquote> | |||
{| | |||
|- | |- | ||
| [[ruby | | [[ruby cli]] | ||
|- | |- | ||
|} | |} | ||
</blockquote><!-- Examples --> | |||
</blockquote><!-- |
Latest revision as of 14:49, 25 October 2023
Ruby is a scripting language similar to python.
Documentation
API docs https://docs.ruby-lang.org/en/ official docs https://www.ruby-lang.org/en/documentation/ ruby gems https://rubygems.org/ tutorial http://ruby-doc.com/docs/ProgrammingRuby/ ruby c api tutorial https://silverhammermba.github.io/emberb/c/
Locations
/usr/lib/ruby/2.7.0
(archlinux)/opt/rubies/2.6.5
(macos)ruby source
Intro/Reference
ruby anatomy ruby versions ruby interpreters ruby extensions ruby conventions ruby environments
Libraries
index ruby libraries major modules ruby rails
Syntax
Features
ruby concurrency ruby refinements ruby datetimes
Tools
ruby linters ruby documentation ruby testing ruby debuggers ruby profilers ruby complexity metrics
Examples
ruby cli