You are here |
endofline.wordpress.com | ||
| | | |
cbabhusal.wordpress.com
|
|
| | | | The*is thesplatoperator.It expands anArrayinto a list of arguments, in this case a list of arguments to theHash.[]method. (To be more precise, it expands any object that responds toto_ary/to_a, orto_ain Ruby 1.9.) To illustrate, the following two statements are equal: method_name arg1, arg2, arg3 method_name *[arg1, arg2, arg3] It can also be used in a different... | |
| | | |
www.blackbytes.info
|
|
| | | | What are some weird things about Ruby that are worth learning about? Take a look at this post to find out! | |
| | | |
www.destroyallsoftware.com
|
|
| | | | ||
| | | |
theincredibleholk.org
|
|
| | As I've written about before, one of the major features we're working on adding to Rust is to allow async functions in traits. Today we have support in nightly ... |