hexa.cr/examples/example.cr

13 lines
186 B
Crystal
Raw Permalink Normal View History

2024-06-21 13:28:45 +02:00
require "../src/hexa.cr"
h = Hexa.new 2_000
text = "hello this is some text I want to show"
puts h.dump text
puts ""
puts "with a title:"
title = "some text"
puts h.dump title, text