Class: JLDrill::AboutInfo
- Inherits:
-
Object
- Object
- JLDrill::AboutInfo
- Defined in:
- lib/jldrill/model/AboutInfo.rb
Overview
Information about JLDrill.
Instance Attribute Summary collapse
-
#authors ⇒ Object
readonly
Returns the value of attribute authors.
-
#comments ⇒ Object
readonly
Returns the value of attribute comments.
-
#copyright ⇒ Object
readonly
Returns the value of attribute copyright.
-
#license ⇒ Object
readonly
Returns the value of attribute license.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
-
#website ⇒ Object
readonly
Returns the value of attribute website.
Instance Method Summary collapse
-
#initialize ⇒ AboutInfo
constructor
A new instance of AboutInfo.
Constructor Details
#initialize ⇒ AboutInfo
Returns a new instance of AboutInfo.
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
# File 'lib/jldrill/model/AboutInfo.rb', line 11 def initialize @authors = ["Mike Charlton"] @name = "JLDrill" @version = JLDrill::VERSION @copyright = "(C) 2005-2011 Mike Charlton" @comments = "Drill Program for Learning Japanese." @website = "http://jldrill.rubyforge.org" @license = %Q[JLDrill - Drill Program for Learning Japanese Copyright (C) 2005-2011 Mike Charlton 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 version specified by Mike Charlton. 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. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. Note: This license only covers the JLDrill software. It doesn't cover the information in the data directory. For more information on licenses for these files, please refer to the COPYING director in the data directory. ] end |
Instance Attribute Details
#authors ⇒ Object (readonly)
Returns the value of attribute authors.
8 9 10 |
# File 'lib/jldrill/model/AboutInfo.rb', line 8 def @authors end |
#comments ⇒ Object (readonly)
Returns the value of attribute comments.
8 9 10 |
# File 'lib/jldrill/model/AboutInfo.rb', line 8 def comments @comments end |
#copyright ⇒ Object (readonly)
Returns the value of attribute copyright.
8 9 10 |
# File 'lib/jldrill/model/AboutInfo.rb', line 8 def copyright @copyright end |
#license ⇒ Object (readonly)
Returns the value of attribute license.
8 9 10 |
# File 'lib/jldrill/model/AboutInfo.rb', line 8 def license @license end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
8 9 10 |
# File 'lib/jldrill/model/AboutInfo.rb', line 8 def name @name end |
#version ⇒ Object (readonly)
Returns the value of attribute version.
8 9 10 |
# File 'lib/jldrill/model/AboutInfo.rb', line 8 def version @version end |
#website ⇒ Object (readonly)
Returns the value of attribute website.
8 9 10 |
# File 'lib/jldrill/model/AboutInfo.rb', line 8 def website @website end |