yesterday I already asked you in \"no implicit conversion of Symbol into Integer, Ruby\". I think you need further information to answer the question. That’s the reason, why I a
You create RubyCommand
instance like
Litu::RubyCommand.new("switch_wago_do")
and you have
def initialize(params, &block)
So params
would be String equal "switch_wago_do"
.
But you expect it to be Hash instance.
That is why commenting these strings solves problem.
@killProc=params[:killProc]
@name=params[:name]
@working_directory=params[:working_directory]||"."