Changeset 229

Show
Ignore:
Timestamp:
08/11/08 17:46:16 (3 months ago)
Author:
andrew.pennebak..@gmail.com
Message:

Shortened File.dir command for locating YAML settings file.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ruby/tw/tw.rb

    r227 r229  
    177177                when :listcommands 
    178178                        begin 
    179                                 open(File.dirname($0)+"/"+"tw.yaml") { |file| 
     179                                open("#{File.dirname($0)}/tw.yaml") { |file| 
    180180                                        load_commands(file).each { |description, command| 
    181181                                                puts "#{description}\n    #{command}\n\n"