Sha256: d7eee60fd08d46b4644c5f092dd7f9c4591063894e7cfe7c008579917d5aec85

Contents?: true

Size: 426 Bytes

Versions: 3

Compression:

Stored size: 426 Bytes

Contents

module Flammarion
  # Pops up a little about box.
  def self.about
    f = Engraving.new(close_on_exit:true)
    f.title "Flammarion #{VERSION}"
    readme = "#{File.absolute_path(File.dirname(__FILE__))}/../../Readme.md"
    license = "#{File.absolute_path(File.dirname(__FILE__))}/../../LICENSE"
    f.markdown(File.read(readme))
    f.break
    f.markdown(File.read(license))
    f.wait_until_closed
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
flammarion-1.0.1 lib/flammarion/about.rb
flammarion-1.0.0 lib/flammarion/about.rb
flammarion-0.3.0 lib/flammarion/about.rb