From b0e0a2a64d969eb306811bbf5f4d33cc2c1f62a0 Mon Sep 17 00:00:00 2001 From: Iztok Fister Jr Date: Sat, 13 Jan 2024 01:01:30 +0100 Subject: [DOC] Fix two minor typos on manual page --- man/ruby.1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'man') diff --git a/man/ruby.1 b/man/ruby.1 index a2b69c3cd6..a0cda14641 100644 --- a/man/ruby.1 +++ b/man/ruby.1 @@ -101,10 +101,10 @@ different character encodings, without dependence on Unicode. .It Sy "Bignums" With built-in bignums, you can for example calculate factorial(400). .Pp -.It Sy "Reflection and domain specific languages" +.It Sy "Reflection and domain-specific languages" Class is also an instance of the Class class. Definition of classes and methods is an expression just as 1+1 is. So your programs can even write and modify programs. -Thus you can write your application in your own programming language on top of Ruby. +Thus, you can write your application in your own programming language on top of Ruby. .Pp .It Sy "Exception handling" As in Java(tm). @@ -455,7 +455,7 @@ Enable compiler debug mode (same as .It Sy parsetree Print a textual representation of the Ruby AST for the program. .It Sy parsetree_with_comment -Print a textual representation of the Ruby AST for the program, but with each node annoted with the associated Ruby source code. +Print a textual representation of the Ruby AST for the program, but with each node annotated with the associated Ruby source code. .It Sy insns Print a list of disassembled bytecode instructions. .It Sy insns_without_opt -- cgit v1.2.3