Files
nairobi/app/helpers
Javi Martín eac7427755 Remove line auto-assigning a variable to nil
This is one of the most strange behaviours in ruby: if a variable
doesn't exist, assigning to itself will return `nil`.

So a line like:

mdmkdfm = ooops if mdmkdfm.respond_to?(:uiqpior)

Surprisingly will not raise any errors: the nonexistent `mdmkdfm`
variable will be evaluated to `nil`, `mdmkdfm.respond_to?(:uiqpior)`
will evaluate to `nil.respond_to?(:uiqpior)`, which will return `false`,
and then the line will be evaluated as `mdmkdfm = ooops if false`, which
will return `nil`.

Maybe in the future Ruby will change this behaviour. We hope CONSUL is
now in better shape if that ever happens :).
2019-09-29 22:52:53 +02:00
..
2019-09-10 21:04:56 +02:00
2019-05-31 15:43:06 +02:00
2019-09-10 21:04:56 +02:00
2019-09-23 10:51:25 +02:00
2019-09-10 21:04:56 +02:00
2019-09-10 21:04:56 +02:00
2019-09-10 21:04:56 +02:00
2019-09-23 10:51:25 +02:00
2019-03-27 15:22:14 +01:00
2019-09-10 21:04:56 +02:00
2019-09-10 21:04:56 +02:00
2019-09-10 21:04:56 +02:00
2019-09-10 21:04:56 +02:00
2019-06-12 16:23:40 +02:00
2019-06-12 16:23:40 +02:00
2019-09-10 21:04:56 +02:00
2019-09-10 21:04:56 +02:00
2019-09-10 21:04:56 +02:00