Class: JLDrill::AboutInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/jldrill/model/AboutInfo.rb

Overview

Information about JLDrill.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAboutInfo

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

#authorsObject (readonly)

Returns the value of attribute authors.



8
9
10
# File 'lib/jldrill/model/AboutInfo.rb', line 8

def authors
  @authors
end

#commentsObject (readonly)

Returns the value of attribute comments.



8
9
10
# File 'lib/jldrill/model/AboutInfo.rb', line 8

def comments
  @comments
end

Returns the value of attribute copyright.



8
9
10
# File 'lib/jldrill/model/AboutInfo.rb', line 8

def copyright
  @copyright
end

#licenseObject (readonly)

Returns the value of attribute license.



8
9
10
# File 'lib/jldrill/model/AboutInfo.rb', line 8

def license
  @license
end

#nameObject (readonly)

Returns the value of attribute name.



8
9
10
# File 'lib/jldrill/model/AboutInfo.rb', line 8

def name
  @name
end

#versionObject (readonly)

Returns the value of attribute version.



8
9
10
# File 'lib/jldrill/model/AboutInfo.rb', line 8

def version
  @version
end

#websiteObject (readonly)

Returns the value of attribute website.



8
9
10
# File 'lib/jldrill/model/AboutInfo.rb', line 8

def website
  @website
end