development fork of ruby/ruby
Перейти к файлу
Nobuyoshi Nakada 92b10f5be7 [Bug #20062] Fixed numbered parameter syntax error
At the method definition, the local scope that saves the context of
the numbered parameters needs to be pushed before saving.
2023-12-16 02:11:51 +09:00
.github Trigger auto-request-review only for master branch 2023-12-14 17:24:08 -08:00
basictest
benchmark
bin
bootstraptest remove `Ractor::Selector` from Ruby level 2023-12-16 01:00:01 +09:00
ccan
coroutine
coverage
cygwin
defs
doc YJIT: Add --yjit-disable to help and reorder it (#9230) 2023-12-13 13:29:37 -08:00
enc
ext stop warnings from running the test case requiring .so twice 2023-12-15 11:09:31 +09:00
gems Bump up bundled net-ftp gem version to 0.3.3 2023-12-15 12:57:03 +09:00
include rb_ext_resolve_symbol: C API to resolve and return externed symbols [Feature #20005] 2023-12-14 17:39:42 +09:00
internal
lib [rubygems/rubygems] Use mkdir_p helper in bundler.rb 2023-12-15 15:32:56 +00:00
libexec
man
misc
missing
prism [ruby/prism] Fix eval parsing depth 2023-12-15 15:19:50 +00:00
sample
spec [rubygems/rubygems] Remove extension building sync stuff no longer present in RubyGems 2023-12-14 20:22:48 +08:00
template
test [Bug #20062] Fixed numbered parameter syntax error 2023-12-16 02:11:51 +09:00
tool [rubygems/rubygems] Refactor vendoring to allow validating vendoring is reproducible 2023-12-15 14:48:25 +00:00
wasm
win32
yjit YJIT: Add --yjit-disable to help and reorder it (#9230) 2023-12-13 13:29:37 -08:00
.appveyor.yml
.dir-locals.el
.document
.editorconfig
.gdbinit
.git-blame-ignore-revs
.gitattributes
.gitignore
.indent.pro
.rdoc_options
.rspec_parallel
.travis.yml
BSDL
CONTRIBUTING.md
COPYING
COPYING.ja
GPL
KNOWNBUGS.rb
LEGAL
NEWS.md Update bundled gems list at b562efdf6d [ci skip] 2023-12-15 03:57:40 +00:00
README.EXT
README.EXT.ja
README.ja.md
README.md
aclocal.m4
addr2line.c
addr2line.h
array.c
array.rb
ast.c
ast.rb
autogen.sh
bignum.c
builtin.c
builtin.h
class.c
common.mk rb_ext_resolve_symbol: C API to resolve and return externed symbols [Feature #20005] 2023-12-14 17:39:42 +09:00
compar.c
compile.c Fix op asgn method calls passing mutable keyword splats 2023-12-14 08:13:43 -08:00
complex.c [DOC] RDoc for Complex (#9243) 2023-12-15 09:39:12 -05:00
configure.ac Fix `ARCH_FLAG` when cross-compiling on macOS 2023-12-15 15:19:16 +09:00
constant.h
cont.c
darray.h
debug.c
debug_counter.c
debug_counter.h
dir.c [DOC] Adjust some new features wording/examples. (#9183) 2023-12-14 23:01:48 +02:00
dir.rb
dln.c rb_ext_resolve_symbol: C API to resolve and return externed symbols [Feature #20005] 2023-12-14 17:39:42 +09:00
dln.h dln_symbol: make dln_sym accessible Ruby internally 2023-12-14 17:39:42 +09:00
dln_find.c
dmydln.c dln_symbol: make dln_sym accessible Ruby internally 2023-12-14 17:39:42 +09:00
dmyenc.c
dmyext.c
encindex.h
encoding.c
enum.c
enumerator.c
error.c rb_bug_for_fatal_signal: exit with the right signal 2023-12-15 17:48:43 +01:00
eval.c [DOC] Adjust some new features wording/examples. (#9183) 2023-12-14 23:01:48 +02:00
eval_error.c
eval_intern.h
eval_jump.c
file.c
gc.c free ractors with ractor_free 2023-12-15 10:31:15 -05:00
gc.rb
gem_prelude.rb
golf_prelude.rb
goruby.c
hash.c check modifcation whil ar->st 2023-12-15 11:58:43 +09:00
hrtime.h
id_table.c
id_table.h
inits.c
insns.def
internal.h
io.c
io.rb
io_buffer.c Implement Write Barriers on IO::Buffer 2023-12-14 12:22:38 -05:00
iseq.c [PRISM] Fix `compile_prism` when src is a file 2023-12-15 10:27:44 -05:00
iseq.h
kernel.rb
lex.c.blt
load.c rb_ext_resolve_symbol: C API to resolve and return externed symbols [Feature #20005] 2023-12-14 17:39:42 +09:00
loadpath.c
localeinit.c
main.c
marshal.c
marshal.rb
math.c
memory_view.c
method.h
mini_builtin.c
miniinit.c
nilclass.rb
node.c
node.h
node_dump.c
numeric.c
numeric.rb
object.c
pack.c
pack.rb
parse.y [Bug #20062] Fixed numbered parameter syntax error 2023-12-16 02:11:51 +09:00
parser_bits.h
parser_node.h
parser_st.c check modifcation whil ar->st 2023-12-15 11:58:43 +09:00
parser_st.h
parser_value.h
prelude.rb
prism_compile.c [PRISM] Implement safe navigation in CallNodes 2023-12-14 17:11:54 -05:00
prism_compile.h
prism_init.c
probes.d
probes_helper.h
proc.c Remove unused macros 2023-12-12 17:24:17 -05:00
process.c [DOC] Adjust some new features wording/examples. (#9183) 2023-12-14 23:01:48 +02:00
ractor.c remove `Ractor::Selector` from Ruby level 2023-12-16 01:00:01 +09:00
ractor.rb remove `Ractor::Selector` from Ruby level 2023-12-16 01:00:01 +09:00
ractor_core.h
random.c
range.c [DOC] Adjust some new features wording/examples. (#9183) 2023-12-14 23:01:48 +02:00
rational.c
re.c [DOC] Adjust some new features wording/examples. (#9183) 2023-12-14 23:01:48 +02:00
regcomp.c
regenc.c
regenc.h
regerror.c
regexec.c
regint.h
regparse.c
regparse.h
regsyntax.c
rjit.c
rjit.h
rjit.rb
rjit_c.c
rjit_c.h
rjit_c.rb
ruby-runner.c
ruby.c Avoid warning --jit when only YJIT is enabled 2023-12-13 00:05:12 -08:00
ruby_assert.h
ruby_atomic.h
ruby_parser.c
rubyparser.h
rubystub.c
scheduler.c
shape.c
shape.h
signal.c
siphash.c
siphash.h
sparc.c
sprintf.c
st.c check modifcation whil ar->st 2023-12-15 11:58:43 +09:00
strftime.c
string.c Make String#chomp! raise ArgumentError for 2+ arguments if string is empty 2023-12-13 07:05:21 -08:00
string.rb
struct.c
symbol.c
symbol.h
symbol.rb
thread.c
thread_none.c
thread_none.h
thread_pthread.c
thread_pthread.h
thread_pthread_mn.c
thread_sync.c [DOC] Adjust some new features wording/examples. (#9183) 2023-12-14 23:01:48 +02:00
thread_sync.rb
thread_win32.c
thread_win32.h
time.c
timev.h
timev.rb
trace_point.rb [DOC] Adjust some new features wording/examples. (#9183) 2023-12-14 23:01:48 +02:00
transcode.c
transcode_data.h
universal_parser.c
util.c
variable.c [DOC] Adjust some new features wording/examples. (#9183) 2023-12-14 23:01:48 +02:00
variable.h
version.c
version.h
vm.c free ractors with ractor_free 2023-12-15 10:31:15 -05:00
vm_args.c
vm_backtrace.c
vm_callinfo.h
vm_core.h
vm_debug.h
vm_dump.c
vm_eval.c
vm_exec.c
vm_exec.h
vm_insnhelper.c
vm_insnhelper.h
vm_method.c
vm_opts.h
vm_sync.c
vm_sync.h
vm_trace.c Refactor local variable names in postponed_job methods 2023-12-13 13:35:05 +11:00
vsnprintf.c
warning.rb
weakmap.c [DOC] Enhance docs for WeakMap and WeakKeyMap (#9160) 2023-12-14 23:33:33 +02:00
yjit.c
yjit.h
yjit.rb

README.md

Actions Status: MinGW Actions Status: RJIT Actions Status: Ubuntu Actions Status: Windows AppVeyor status Travis Status

What is Ruby?

Ruby is an interpreted object-oriented programming language often used for web development. It also offers many scripting features to process plain text and serialized files, or manage system tasks. It is simple, straightforward, and extensible.

Features of Ruby

  • Simple Syntax
  • Normal Object-oriented Features (e.g. class, method calls)
  • Advanced Object-oriented Features (e.g. mix-in, singleton-method)
  • Operator Overloading
  • Exception Handling
  • Iterators and Closures
  • Garbage Collection
  • Dynamic Loading of Object Files (on some architectures)
  • Highly Portable (works on many Unix-like/POSIX compatible platforms as well as Windows, macOS, etc.) cf. https://docs.ruby-lang.org/en/master/maintainers_md.html#label-Platform+Maintainers

How to get Ruby

For a complete list of ways to install Ruby, including using third-party tools like rvm, see:

https://www.ruby-lang.org/en/downloads/

You can download release packages and the snapshot of the repository. If you want to download whole versions of Ruby, please visit https://www.ruby-lang.org/en/downloads/releases/.

Download with Git

The mirror of the Ruby source tree can be checked out with the following command:

$ git clone https://github.com/ruby/ruby.git

There are some other branches under development. Try the following command to see the list of branches:

$ git ls-remote https://github.com/ruby/ruby.git

You may also want to use https://git.ruby-lang.org/ruby.git (actual master of Ruby source) if you are a committer.

How to build

See Building Ruby

Ruby home page

https://www.ruby-lang.org/

Documentation

Mailing list

There is a mailing list to discuss Ruby. To subscribe to this list, please send the following phrase:

join

in the mail subject (not body) to the address ruby-talk-request@ml.ruby-lang.org.

Copying

See the file COPYING.

Feedback

Questions about the Ruby language can be asked on the Ruby-Talk mailing list or on websites like https://stackoverflow.com.

Bugs should be reported at https://bugs.ruby-lang.org. Read "Reporting Issues" for more information.

Contributing

See "Contributing to Ruby", which includes setup and build instructions.

The Author

Ruby was originally designed and developed by Yukihiro Matsumoto (Matz) in 1995.

matz@ruby-lang.org