lib/cpee/implementation.rb in cpee-1.3.109 vs lib/cpee/implementation.rb in cpee-1.3.110
- old
+ new
@@ -120,16 +120,13 @@
end
end #}}}
class NewInstance < Riddl::Implementation #{{{
def response
- p 'rrr'
controller = @a[0]
opts = @a[1]
name = @p[0].value
id = controller.keys.sort.last.to_i
- p 'rrr'
- p name
while true
id += 1
Dir.mkdir(opts[:instances] + "/#{id}") rescue nil
break