Project

General

Profile

« Previous | Next » 

Revision b25e9035

Added by Marc Dequènes over 15 years ago

  • ID b25e9035380f8c5837f06d6557a73f5340af69bd

[fix] Order: correct silly mistakes

View differences:

lib/cyborghood/order.rb
next if line == "" or line[0, 1] == "#"
errors = []
cmd_parts = line.shellsplit.collect do |word, errors, used_refs|
yield word
cmd_parts = line.shellsplit.collect do |word|
yield word, errors, used_refs
end
commands << Command.new(line, cmd_parts, errors)
......
shared_parameters.delete_if{|ref, param| not used_refs.include?(ref) }
logger.debug "Order is OK"
new(:user => @user, :commands => commands, :shared_parameters => shared_parameters)
new(:user => user, :commands => commands, :shared_parameters => shared_parameters)
end
def dereference_param(shared_parameters, param)

Also available in: Unified diff