Top Level Namespace

Defined Under Namespace

Modules: Internal, MethodAsCode, MethodAsExpression, MethodOrigin, MethodSig Classes: Method, Module, Node, Proc, RubyVM, UnboundMethod

Instance Method Summary collapse

Instance Method Details

#foo(foo, bar = [1,2], *args, &block) ⇒ Object

def foo; @@foo = 1; end def foo; a = [2, 3]; foo(1, *a); end def foo; not true; end def foo; catch(:foo) { throw :foo; 42 }; end def foo; a ? b : c; end def foo; loop { a = 1; break }; end def foo; ::BAR; end def foo; a != b; end def foo; 1 - 2; end def foo; +a; end def foo; !a; end def foo; a << b; end def foo; a === b; end def foo; []; end



821
# File 'lib/decompiler/vm/bytedecoder.rb', line 821

def foo; foo.bar = 42; end