class Object

This could be opened not only by the Intar executable but also everywhere inside your Ruby program.

Example 1

require "intar"
Intar.run

Example 2

require "intar"
a = "hello"
Intar.run a, prompt: "str(%(length)i):%03n%> "

Example 3

require "intar"
Intar.open show: 3, histfile: ".intar_history-example" do |i|
  i.execute "puts inspect"
  i.run
end

Public Instance Methods

intar_binding() click to toggle source
# File lib/intar.rb, line 43
def intar_binding
  binding
end