Apidock_header
  • Welcome
  • Register
  • Projects
  • Help
  • About
  • Blog
Use OpenID
  • Rspec_icon_16RSpec
  • Rails_icon_16Ruby on Rails
  • Ruby_icon_16Ruby
method

cd

Importance_1
v2_5_5 - Show latest stable - 0 notes - Class: Shell
  • 1_8_6_287 (0)
  • 1_8_7_72 (0)
  • 1_8_7_330 (0)
  • 1_9_1_378 (0)
  • 1_9_2_180 (0)
  • 1_9_3_125 (0)
  • 1_9_3_392 (0)
  • 2_1_10 (38)
  • 2_2_9 (0)
  • 2_4_6 (0)
  • 2_5_5 (0)
  • 2_6_3 (0)
  • What's this?

Related methods

  • Class methods (13)
  • Importance_1_sm alias_command
  • Importance_1_sm cd
  • Importance_0_sm debug=
  • Importance_0_sm default_record_separator
  • Importance_0_sm default_record_separator=
  • Importance_1_sm default_system_path
  • Importance_1_sm default_system_path=
  • Importance_1_sm def_system_command
  • Importance_1_sm install_system_commands
  • Importance_1_sm new
  • Importance_0_sm notify
  • Importance_1_sm unalias_command
  • Importance_1_sm undef_system_command
  • Instance methods (12)
  • Importance_1_sm cd
  • Importance_1_sm chdir
  • Importance_0_sm debug=
  • Importance_0_sm expand_path
  • Importance_0_sm inspect
  • Importance_1_sm jobs
  • Importance_1_sm kill
  • Importance_1_sm popd
  • Importance_1_sm popdir
  • Importance_1_sm pushd
  • Importance_1_sm pushdir
  • Importance_1_sm system_path=

Icon_private_sm = private
Icon_protected_sm = protected

cd(path) public

Creates a new Shell instance with the current working directory set to path.

Show source
# File lib/shell.rb, line 126
    def cd(path)
      new(path)
    end
Register or log in to add new notes.
  • Welcome
  • Register
  • Projects
  • Help
  • About
  • Blog


APIdock release: IRON STEVE (1.4)
If you have any comments, ideas or feedback, feel free to contact us at

Go to Nodeta blog APIdock copyright Nodeta Oy 2008-2025