Fix: attr doesn't take a list.
This commit is contained in:
parent
5462ec27b8
commit
eb058c0958
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user