Class: IRB::Context

Inherits:
Object show all
Defined in:
plugins/irb/irbrc.rb

Instance Method Summary (collapse)

Constructor Details

- (Context) initialize(*args, &blk)

A new instance of Context



16
17
18
19
# File 'plugins/irb/irbrc.rb', line 16

def initialize *args, &blk
  initialize_before_quirb *args, &blk
  self.prompt_mode = :QUIRB if IRB.conf[:PROMPT][:QUIRB]
end

Instance Method Details

- (Object) initialize_before_quirb



14
# File 'plugins/irb/irbrc.rb', line 14

alias_method :initialize_before_quirb, :initialize