Sha256: 2d9a014a8a7ccae6394ad4119b5c4d030fbb38b9dcfe020d0c8710c3b6f6ce53

Contents?: true

Size: 270 Bytes

Versions: 8

Compression:

Stored size: 270 Bytes

Contents

# frozen_string_literal: true

puts "Attention this method only work with a server due to security restriction "
a=box
text("touch the box to read the file")
a.touch(true) do
  a.read('texts/lorem.txt') do |params|
    text({data: params, visual:{size: 16}})
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
atome-0.5.4.1.9 vendor/assets/src/medias/rubies/examples/read.rb
atome-0.5.4.1.7 vendor/assets/src/medias/rubies/examples/read.rb
atome-0.5.4.1.3 vendor/assets/src/medias/rubies/examples/read.rb
atome-0.5.4.1.2 vendor/assets/src/medias/rubies/examples/read.rb
atome-0.5.4.1.1 vendor/assets/src/medias/rubies/examples/read.rb
atome-0.5.4.1.0 vendor/assets/src/medias/rubies/examples/read.rb
atome-0.5.4.0.9 vendor/assets/src/medias/rubies/examples/read.rb
atome-0.5.3.8.8 vendor/assets/src/medias/rubies/examples/read.rb