Fix: attr doesn't take a list.

This commit is contained in:
Adam Vandenberg 2010-06-10 19:39:15 -07:00
parent 5462ec27b8
commit eb058c0958
2 changed files with 4 additions and 2 deletions

View File

@ -44,7 +44,8 @@ RECOMMENDED_GCC_42 = (MACOS_VERSION >= 10.6) ? 5646 : 5577
class ExecutionError <RuntimeError
attr :exit_status, :command
attr :exit_status
attr :command
def initialize cmd, args = [], es = nil
@command = cmd

View File

@ -29,7 +29,8 @@ TEST_FOLDER = Pathname.new(ABS__FILE__).parent.realpath
# Note: These exceptions duplicate those defined in globals.
# Perhaps the same definitions should be used in both places.
class ExecutionError <RuntimeError
attr :exit_status, :command
attr :exit_status
attr :command
def initialize cmd, args = [], es = nil
@command = cmd