|
You are here |
ryanbigg.com | ||
| | | | |
grosser.it
|
|
| | | | | Diff is defined on Set, but not on Array, so we patch it in... (thanks to reto) Usage [1,2] ^ [2,3,4] == [1,3,4] Code class Array def ^(other) result = dup other.each{|e| result.include?(e) ? result.delete(e) : result.push(e) } result end unless method_defined?(:^) alias diff ^ unless method_defined?(:diff) end puts ([] ^ [1]).inspect # [1] puts... | |
| | | | |
thomascountz.com
|
|
| | | | | [AI summary] The article presents a step-by-step guide to building a simplified version of ActiveRecord in Ruby by creating a module that uses metaprogramming to define columns, accessors, and a database finding method. | |
| | | | |
blog.percywegmann.com
|
|
| | | | | Don't Overthink It | |
| | | | |
nuculabs.wordpress.com
|
|
| | | Hello ?? I'm a software developer by profession but I also enjoy photography, this is my first blog post related to photography, here are some photos I took with the Canon R6 and the EF 15-35mm F4L lens in Timisoara train station. I've taken the photos underexposed at 1/60, 6400 ISO and F4. It was... | ||