I hereby claim:
- I am mcary on github.
- I am marcelcary (https://keybase.io/marcelcary) on keybase.
- I have a public key whose fingerprint is DDC0 A91F A810 E486 3D24 C5EB B6DB D8C8 C65C B985
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I encountered this state of the heroku console just now after finding my web app down. When it came back, the sliders showed zero web workers and my app was still down. |
require 'progressbar' | |
require 'shellwords' | |
require 'json' | |
require 'active_support/core_ext/hash/keys' | |
require 'set' | |
require 'thread' # queue | |
def main | |
objs = load_objs | |
$objs = objs |
# Within the context of a single instance, instance variables have dynamic | |
# scoping semantics. But local variables do not; they are lexically scoped. | |
class DynamicScopingExample | |
def some_method | |
@x = :foo | |
some_other_method | |
end | |
def some_other_method | |
@x |