Ruby: Difference between revisions
From wikinotes
(→Tools) |
|||
(7 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 | | [[ruby processes]] | ||
|- | |- | ||
| [[ruby matching]] | | [[ruby matching]] | ||
Line 100: | Line 100: | ||
|- | |- | ||
|} | |} | ||
</blockquote><!-- | </blockquote><!-- Syntax --> | ||
= | = Features = | ||
<blockquote> | |||
{| | |||
|- | |||
| [[ruby concurrency]] | |||
|- | |||
| [[ruby refinements]] | |||
|- | |||
|} | |||
</blockquote><!-- Features --> | |||
= Tools = | |||
<blockquote> | <blockquote> | ||
{| | {| | ||
Line 115: | Line 126: | ||
| [[ruby profilers]] | | [[ruby profilers]] | ||
|- | |- | ||
| [[ruby | | [[ruby complexity metrics]] | ||
|- | |||
|} | |||
</blockquote><!-- Tools --> | |||
= Examples = | |||
<blockquote> | |||
{| | |||
|- | |- | ||
| [[ruby | | [[ruby cli]] | ||
|- | |- | ||
|} | |} | ||
</blockquote><!-- Examples --> | |||
</blockquote><!-- |
Revision as of 21:25, 13 November 2022
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
Tools
ruby linters ruby documentation ruby testing ruby debuggers ruby profilers ruby complexity metrics
Examples
ruby cli