News for hackers. Stuff that matters.
Re:Leaked Hacking Team code to edit browser history? by nyargh on Friday July 10, 2015 @02:19AM (#9862536)
This is a pretty common ruby pattern to provide a default value if none was passed. I would consider this more of a "lorem ipsum" or crappy test fixture than a smoking gun.
Re:Leaked Hacking Team code to edit browser history? by hobo_mark on Friday July 10, 2015 @03:39AM (#9862731)
Sure, but I don't see anything ruby-specific about default argument values.
Re:Leaked Hacking Team code to edit browser history? by nyargh on Friday July 10, 2015 @01:19PM (#9865329)
Using the || (or ||=) operator when assigning a local variable from an argument is ruby idiom to specify a default.