module Charty::IRubyHelper

Public Instance Methods

iruby_notebook?() click to toggle source
# File lib/charty/iruby_helper.rb, line 5
def iruby_notebook?
  # TODO: This cannot distinguish notebook and console.
  defined?(IRuby)
end
nteract?() click to toggle source
# File lib/charty/iruby_helper.rb, line 14
def nteract?
  ENV.key?("NTERACT_EXE")
end
vscode?() click to toggle source
# File lib/charty/iruby_helper.rb, line 10
def vscode?
  ENV.key?("VSCODE_PID")
end