lib/atome/genesis/generators/communication.rb in atome-0.5.6.1.1 vs lib/atome/genesis/generators/communication.rb in atome-0.5.6.1.4
- old
+ new
@@ -5,10 +5,15 @@
# type = { server: params }
params[:user] = Universe.current_user
params[:pass] = Black_matter.password
params[:atomes] = Universe.atome_list
params[:particles] = Universe.particle_list
+ # FIXME : html method shouldn't be here
html.connect(params, &bloc)
+ # test below
+ # wait 1 do
+ # message({message: 'cd ..;cd server;ls; pwd', action: :terminal })
+ # end
end
new({ particle: :message }) do |params, bloc|
params = { message: params } unless params.instance_of? Hash