Sha256: 248558ba54b9ed47a15519cd0e796586ec781d8d188ebe8dc2e37e806cc4cbf6
Contents?: true
Size: 921 Bytes
Versions: 54
Compression:
Stored size: 921 Bytes
Contents
# frozen_string_literal: true 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 }) c = box({ color: :yellow, left: 333 }) c.touch(true) do c.message({data: 'cd ..;cd server;ls; pwd', action: :terminal }) do |result| puts "shell command return: #{result}" end c.message({data: {source: 'capture.rb',operation: :read }, action: :file}) do |result| puts "file read encoded_content: #{result[:data].gsub('\x23', '#')}" end c.message({ action: :file,data: {source: 'user_created_file.rb', operation: :write, value: :hello }})do |result| puts "file creation result : #{result}" end A.message({ action: :terminal , data: 'cd ..;cd server;ls; pwd'}) do |result| puts "result : #{result}" end end #
Version data entries
54 entries across 54 versions & 1 rubygems