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 @@
|
| | | | | |