vendor/assets/application/examples/messaging.rb in atome-0.5.5.7.7 vs vendor/assets/application/examples/messaging.rb in atome-0.5.5.8.1
- old
+ new
@@ -1,16 +1,29 @@
# frozen_string_literal: true
-#
-b = box({ color: :red })
+user_password = {global: :all_star, read: { atome: :all_star }, write: { atome: :all_star } }
+
+human({ id: :jeezs, login: true, password: user_password, data: { birthday: '10/05/2016' },selection: [], tag: { system: true } , attach: :user_view })
+
+
+
+b = box({ color: :red, id: :my_box })
+b.connection('localhost:9292') do |params|
+ alert " the connection is : #{params}"
+end
b.touch(true) do
b.connection('localhost:9292') do |params|
alert " the connection is : #{params}"
end
end
+
c = box({ color: :yellow, left: 333 })
c.touch(true) do
- b.message('hi there!!')
+ b.message({message: 'cd ..;cd server;ls; pwd', action: :terminal })
+ b.message({message: 'capture.rb', action: :file, option: :read })
+ b.message({message: 'tototo.rb', action: :file, option: :write, value: :hello })
+ # b.message({message: 'cd ..;cd server;ls; pwd'})
# c = box({ color: :red, left: 333 })
-end
\ No newline at end of file
+end
+