Module: Computer
- Defined in:
- lib/computer/shell.rb,
lib/computer/version.rb
Defined Under Namespace
Classes: Shell, ShellError
Constant Summary
collapse
- MAJOR =
todo: namespace inside version or something - why? why not??
0
- MINOR =
1
- PATCH =
0
- VERSION =
[MAJOR,MINOR,PATCH].join('.')
Class Method Summary
collapse
Class Method Details
.banner ⇒ Object
12
13
14
|
# File 'lib/computer/version.rb', line 12
def self.banner
"computer/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
end
|
.root ⇒ Object
16
17
18
|
# File 'lib/computer/version.rb', line 16
def self.root
File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )
end
|
.version ⇒ Object
8
9
10
|
# File 'lib/computer/version.rb', line 8
def self.version
VERSION
end
|