Module: GBud::Messages

Defined in:
lib/gbud/messages.rb

Overview

Messages

Author

Richard Davis

Copyright

Copyright 2017 Richard Davis

License

GNU Public License 3

Module containing methods used to prompt the user for program input.

Class Method Summary collapse

Class Method Details

.licenseObject

Returns the license message.



32
33
34
35
36
37
# File 'lib/gbud/messages.rb', line 32

def self.license
  "This program is free software: you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version."
end

.warrantyObject

Returns the warranty message.



41
42
43
44
45
46
# File 'lib/gbud/messages.rb', line 41

def self.warranty
  "This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details."
end