class Mysh::InitOption
The mysh init command.
Public Instance Methods
post_boot(read_point)
click to toggle source
Execute the init command line option.
# File lib/mysh/command_line/init.rb, line 23 def post_boot(read_point) get_arg(read_point) end
pre_boot(read_point)
click to toggle source
Skip over the argument for pre_boot.
# File lib/mysh/command_line/init.rb, line 10 def pre_boot(read_point) file_name = get_arg(read_point).to_host_spec if $mysh_init_file $mysh_init_file = $mysh_init_file.in_array + [file_name] else $mysh_init_file = file_name end mysh "load #{file_name}" end