From 2906fefb867cf247a6eb63db24afde836de06e8d Mon Sep 17 00:00:00 2001
From: Travis CI <>
Date: Thu, 8 Apr 2021 04:25:47 +0000
Subject: [PATCH] Deploy to GitHub Pages:
---
classes.html | 4 ++--
concurrency.html | 4 ++--
contributing.html | 4 ++--
control-flow.html | 4 ++--
error-handling.html | 4 ++--
functions.html | 8 +++-----
getting-started.html | 4 ++--
index.html | 4 ++--
lists.html | 4 ++--
maps.html | 4 ++--
method-calls.html | 4 ++--
modularity.html | 4 ++--
performance.html | 4 ++--
qa.html | 4 ++--
syntax.html | 4 ++--
try/index.html | 4 ++--
values.html | 4 ++--
variables.html | 4 ++--
18 files changed, 37 insertions(+), 39 deletions(-)
diff --git a/classes.html b/classes.html
index d7aee27c..ce6d3ff9 100644
--- a/classes.html
+++ b/classes.html
@@ -41,8 +41,8 @@
Method Calls
Control Flow
Variables
- Functions
Classes
+ Functions
Concurrency
Error Handling
Modularity
@@ -90,8 +90,8 @@
- Variables
- - Functions
- Classes
+ - Functions
- Concurrency
- Error Handling
- Modularity
diff --git a/concurrency.html b/concurrency.html
index eb8dfb98..a5583362 100644
--- a/concurrency.html
+++ b/concurrency.html
@@ -41,8 +41,8 @@
- Method Calls
- Control Flow
- Variables
- - Functions
- Classes
+ - Functions
- Concurrency
- Error Handling
- Modularity
@@ -90,8 +90,8 @@
- Variables
- - Functions
- Classes
+ - Functions
- Concurrency
- Error Handling
- Modularity
diff --git a/contributing.html b/contributing.html
index 5ce81f77..81ea123f 100644
--- a/contributing.html
+++ b/contributing.html
@@ -41,8 +41,8 @@
- Method Calls
- Control Flow
- Variables
- - Functions
- Classes
+ - Functions
- Concurrency
- Error Handling
- Modularity
@@ -90,8 +90,8 @@
- Variables
- - Functions
- Classes
+ - Functions
- Concurrency
- Error Handling
- Modularity
diff --git a/control-flow.html b/control-flow.html
index c7f88232..375751a9 100644
--- a/control-flow.html
+++ b/control-flow.html
@@ -41,8 +41,8 @@
- Method Calls
- Control Flow
- Variables
- - Functions
- Classes
+ - Functions
- Concurrency
- Error Handling
- Modularity
@@ -90,8 +90,8 @@
- Variables
- - Functions
- Classes
+ - Functions
- Concurrency
- Error Handling
- Modularity
diff --git a/error-handling.html b/error-handling.html
index 7e8e246a..89e52144 100644
--- a/error-handling.html
+++ b/error-handling.html
@@ -41,8 +41,8 @@
- Method Calls
- Control Flow
- Variables
- - Functions
- Classes
+ - Functions
- Concurrency
- Error Handling
- Modularity
@@ -90,8 +90,8 @@
- Variables
- - Functions
- Classes
+ - Functions
- Concurrency
- Error Handling
- Modularity
diff --git a/functions.html b/functions.html
index 9be71e18..b2f9aff5 100644
--- a/functions.html
+++ b/functions.html
@@ -41,8 +41,8 @@
- Method Calls
- Control Flow
- Variables
- - Functions
- Classes
+ - Functions
- Concurrency
- Error Handling
- Modularity
@@ -90,8 +90,8 @@
-var sayMessage {|recipient, message|
+var sayMessage = Fn.new {|recipient, message|
System.print("message for %(recipient): %(message)")
}
@@ -233,8 +233,6 @@ numbers.map {|n| n * 2 }.where {|n| n < 100 }
Block argument example
Let’s look at a complete example, so we can see both ends.
-This may be a bit of a spoiler for classes, so feel free
-to read that page first and come back.
Here’s a fictional class for something that will call a function
when a click event is sent to it. It allows us to pass just a
function and assume the left mouse button, or to pass a button and a function.
diff --git a/getting-started.html b/getting-started.html
index a2948db1..3be974b8 100644
--- a/getting-started.html
+++ b/getting-started.html
@@ -41,8 +41,8 @@
- Method Calls
- Control Flow
- Variables
- - Functions
- Classes
+ - Functions
- Concurrency
- Error Handling
- Modularity
@@ -90,8 +90,8 @@
|
| | | | | |