=== r00t^2_ is now known as r00t^2 | ||
=== L3gacy is now known as L3gacy_Snoring | ||
rmg51 | Morning | 09:22 |
---|---|---|
teddy-dbear | Morning peoples, critters and everything else | 12:28 |
lazypower | ChinnoDog, its a DSL. Most implementations of ruby is DSL | 15:17 |
ChinnoDog | DSL? | 15:18 |
lazypower | ChinnoDog, :private_network is a symbol, :ip is another symbol, and this is basically replacing / updating an item in a hash | 15:18 |
lazypower | Domain Specific Language | 15:18 |
lazypower | https://en.wikipedia.org/wiki/Domain-specific_language | 15:19 |
ChinnoDog | But it must be valid ruby syntax. I understand Ruby hashes but I don't understand the statement because I don't know what the comma operator is doing for it. | 15:20 |
ChinnoDog | What hash does the :ip key belong to? | 15:21 |
lazypower | ip belongs to private_network, its a sub-key of that property | 15:22 |
ChinnoDog | sub-key = parent hash? | 15:23 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!