mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
Fixed a small typo.
litteral => literal
This commit is contained in:
parent
2f81283970
commit
e13f05c9cf
@ -229,7 +229,7 @@ b #=> 'b'
|
||||
c #=> "c"
|
||||
|
||||
# Procs represent a function pointer with an optional context (the closure data)
|
||||
# It is typically created with a proc litteral
|
||||
# It is typically created with a proc literal
|
||||
proc = ->(x : Int32) { x.to_s }
|
||||
proc.class # Proc(Int32, String)
|
||||
# Or using the new method
|
||||
|
Loading…
Reference in New Issue
Block a user