Class

IRB::WorkSpace

Inheritance
< Object

Attributes

Name Visibility R/W Description
binding public R
main public R

Aliases

Method Alias Description
evaluate → __evaluate__

Methods

Class

Visibility Signature
public new (*main)

Instance

Visibility Signature
public evaluate (context, statements, file = nil, line = nil)
public evaluate (context, statements, file = __FILE__, line = __LINE__)
public filter_backtrace (bt)

Class Method Detail

new(*main)

create new workspace. set self to main if specified, otherwise inherit main from TOPLEVEL_BINDING.

Instance Method Detail

evaluate(context, statements, file = nil, line = nil)

evaluate(context, statements, file = __FILE__, line = __LINE__)

filter_backtrace(bt)

error message manipulator