module Origen::ConsoleMethods

Methods available to the command line in a console session, split this to a separate file if it gets large over time

Public Instance Methods

cd(dir) click to toggle source
# File lib/origen/commands/interactive.rb, line 19
def cd(dir)
  Dir.chdir(dir)
  Dir.pwd
end
ls() click to toggle source
# File lib/origen/commands/interactive.rb, line 15
def ls
  `ls`.split("\n")
end
pwd() click to toggle source
# File lib/origen/commands/interactive.rb, line 24
def pwd
  Dir.pwd
end