dev 1.0.120 → 1.0.121
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dev/Project.rb +3 -1
- metadata +1 -1
data/lib/dev/Project.rb
CHANGED
@@ -41,8 +41,10 @@ class Project < Hash
|
|
41
41
|
#puts "Command: " + c
|
42
42
|
eval(c.gsub("<%","").gsub("%>",""))
|
43
43
|
else
|
44
|
+
# is the command a hash?
|
45
|
+
hash=c if c.kind_of?(Hash)
|
44
46
|
# can the command be converted to a hash?
|
45
|
-
hash=Dev::Environment.s_to_hash(command)
|
47
|
+
hash=Dev::Environment.s_to_hash(command) if hash.nil?
|
46
48
|
call=nil
|
47
49
|
if(hash.nil?)
|
48
50
|
call=Dev::SystemCall.new(command)
|