You are here |
www.blackbytes.info | ||
| | | |
zverok.space
|
|
| | | | It happened so that this blog was started almost 3 years ago with post about exercise in imitating pattern matching as a Ruby library. That was fun, but ende... | |
| | | |
endofline.wordpress.com
|
|
| | | | This article has been republished on Monkey and Crow. As of ruby 1.9, you can do some pretty odd things with array destructuring and splatting. Putting the star before an object invokes the splat operator, which has a variety of effects. First we'll start with some very useful examples, then we will poke around the... | |
| | | |
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... | |
| | | |
vsupalov.com
|
|
| | Small steps, getting to know how to work with Tailwind CSS on a very simple project - a plain HTML page. |