Sha256: 1ff295f67bd8ba4a996ee3ca2d6f3d44aabbeb43792b7ed2e9e359d335937eb6

Contents?: true

Size: 602 Bytes

Versions: 1

Compression:

Stored size: 602 Bytes

Contents

require "vamp"

animator = Vamp::Animator.new(File.join(Gem.loaded_specs["vamp"].gem_dir, "files", "vampire.txt"), 31, 24,
  " " * 80 +
      "No man knows till he has suffered from the night how sweet and how dear to his heart and eye the morning can be." \
  " When the sun grew so high this morning that it struck the top of the great gateway opposite my window," \
  " the high spot which it touched seemed to me as if the dove from the ark had lighted there. My fear fell from me" \
  " as if it had been a vaporous garment which dissolved in the warmth." +
  " " * 80)
16.times { animator.play }

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vamp-0.1.2 sample/vampire.rb