Module: Postage::About
- Defined in:
- lib/postage/about.rb
Overview
:nodoc:
Class Method Summary collapse
Class Method Details
.info ⇒ Object
8 9 10 |
# File 'lib/postage/about.rb', line 8 def info @about ||= OpenStruct.new(YAML.load_file(ROOT.join("INFO"))) end |
.to_s ⇒ Object
12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/postage/about.rb', line 12 def to_s <<-end_info.gsub(/ /,'') #{Version} Copyright (C) #{Version.info..year} #{info..join(', ')} #{info.description} For more information, please see the project homepage #{info.homepage}. Bugs, enhancements and improvements, please send message to #{info.email}. end_info end |