Class: Redcar::REPL::OpenREPL

Inherits:
Command show all
Defined in:
plugins/repl/lib/repl.rb

Direct Known Subclasses

OpenFakeREPL, Redcar::Ruby::OpenRubyREPL

Constant Summary

Constants included from Observable

Observable::ASPECTS

Instance Attribute Summary

Attributes inherited from Command

#error

Instance Method Summary (collapse)

Methods inherited from Command

active_changed, #environment, inherited, #inspect, norecord, record?, #run

Methods included from Sensitive

#active?, #sensitivities, #sensitivity_names, #sensitize

Methods included from Observable

#add_listener, #notify_listeners, #remove_listener

Instance Method Details

- (Object) open_repl(mirror)



33
34
35
36
37
# File 'plugins/repl/lib/repl.rb', line 33

def open_repl(mirror)
  tab = win.new_tab(REPLTab)
  tab.repl_mirror = mirror
  tab.focus
end