This commit is contained in:
Hiroshi SHIBATA 2023-12-25 11:17:51 +09:00
Родитель 70618a48f7
Коммит c903cddf55
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: F9CF13417264FAC2
7 изменённых файлов: 13 добавлений и 13 удалений

Просмотреть файл

@ -10,7 +10,7 @@ Just a list of acronyms I've run across in the Ruby source code and their meanin
| `cd` | Call Data. A data structure that points at the `ci` and the `cc`. `iseq` objects points at the `cd`, and access call information and call caches via this structure |
| `cfp`| Control Frame Pointer. Represents a Ruby stack frame. Calling a method pushes a new frame (cfp), returning pops a frame. Points at the `pc`, `sp`, `ep`, and the corresponding `iseq`|
| `ci` | Call Information. Refers to an `rb_callinfo` struct. Contains call information about the call site, including number of parameters to be passed, whether it they are keyword arguments or not, etc. Used in conjunction with the `cc` and `cd`. |
| `cref` | Class reference. A structure pointing to the class reference where `klass_or_self`, visibility scope, and refinements are stored. It also stores a pointer to the next class in the hierachy referenced by `rb_cref_struct * next`. The Class reference is lexically scoped. |
| `cref` | Class reference. A structure pointing to the class reference where `klass_or_self`, visibility scope, and refinements are stored. It also stores a pointer to the next class in the hierarchy referenced by `rb_cref_struct * next`. The Class reference is lexically scoped. |
| CRuby | Implementation of Ruby written in C |
| `cvar` | Class Variable. Refers to a Ruby class variable like `@@foo` |
| `dvar` | Dynamic Variable. Used by the parser to refer to local variables that are defined outside of the current lexical scope. For example `def foo; bar = 1; -> { p bar }; end` the "bar" inside the block is a `dvar` |

Просмотреть файл

@ -307,7 +307,7 @@ The standard error stream (the default value for <tt>$stderr</tt>):
STDERR # => #<IO:<STDERR>>
== Enviroment
== Environment
=== ENV

Просмотреть файл

@ -437,7 +437,7 @@ Executions:
adipiscing elit. Aenean commodo ligula eget.
Aenean massa. Cum sociis natoque penatibus
et magnis dis parturient montes, nascetur
ridiculus mus. Donec quam felis, ultricies
ridiculous mus. Donec quam felis, ultricies
nec, pellentesque eu, pretium quis, sem.
$ ruby descriptions.rb --xxx
["--xxx", true]

Просмотреть файл

@ -5,7 +5,7 @@ Lorem ipsum dolor sit amet, consectetuer
adipiscing elit. Aenean commodo ligula eget.
Aenean massa. Cum sociis natoque penatibus
et magnis dis parturient montes, nascetur
ridiculus mus. Donec quam felis, ultricies
ridiculous mus. Donec quam felis, ultricies
nec, pellentesque eu, pretium quis, sem.
EOT
descriptions = description.split($/)

Просмотреть файл

@ -570,7 +570,7 @@ Execution:
Aenean massa. Cum sociis natoque penatibus
-y, --yyy YYY Lorem ipsum dolor sit amet, consectetuer.
-z, --zzz [ZZZ] Et magnis dis parturient montes, nascetur
ridiculus mus. Donec quam felis, ultricies
ridiculous mus. Donec quam felis, ultricies
nec, pellentesque eu, pretium quis, sem.
The program name is included in the default banner:
@ -609,7 +609,7 @@ Execution:
Aenean massa. Cum sociis natoque penatibus
-y, --yyy YYY Lorem ipsum dolor sit amet, consectetuer.
-z, --zzz [ZZZ] Et magnis dis parturient montes, nascetur
ridiculus mus. Donec quam felis, ultricies
ridiculous mus. Donec quam felis, ultricies
nec, pellentesque eu, pretium quis, sem.
=== Top List and Base List

Просмотреть файл

@ -1216,13 +1216,13 @@ require 'rdoc'
#
class RDoc::MarkupReference
# exmaple class
# example class
class DummyClass; end
# exmaple module
# example module
module DummyModule; end
# exmaple singleton method
# example singleton method
def self.dummy_singleton_method(foo, bar); end
# example instance method
@ -1230,12 +1230,12 @@ class RDoc::MarkupReference
alias dummy_instance_alias dummy_instance_method
# exmaple attribute
# example attribute
attr_accessor :dummy_attribute
alias dummy_attribute_alias dummy_attribute
# exmaple constant
# example constant
DUMMY_CONSTANT = ''
# :call-seq:

Просмотреть файл

@ -47,9 +47,9 @@ of the operation.
=== <code>&&</code>, <code>and</code>
Both <code>&&</code>/<code>and</code> operators provide short-circuiting by executing each
side of the operator, left to right, and stopping at the first occurence of a
side of the operator, left to right, and stopping at the first occurrence of a
falsey expression. The expression that defines the result is the last one
executed, whether it be the final expression, or the first occurence of a falsey
executed, whether it be the final expression, or the first occurrence of a falsey
expression.
Some examples: