Module: Centuria
- Defined in:
- lib/centuria/gem_version.rb,
lib/centuria.rb,
lib/centuria/version.rb,
lib/centuria/commands/commands.rb
Overview
this file is managing gem version
Defined Under Namespace
Modules: GeneratorCmd, VERSION
Classes: Error
Class Method Summary
collapse
Class Method Details
.add(a, b) ⇒ Object
14
15
16
|
# File 'lib/centuria.rb', line 14
def self.add(a, b)
"#{a + b}"
end
|
.gem_version ⇒ Object
5
6
7
|
# File 'lib/centuria/gem_version.rb', line 5
def self.gem_version
Gem::Version.new VERSION::STRING
end
|
.greet(word) ⇒ Object
10
11
12
|
# File 'lib/centuria.rb', line 10
def self.greet(word)
"Hi!, #{word}"
end
|
.logging ⇒ Object
18
19
20
|
# File 'lib/centuria.rb', line 18
def self.logging
"[LOG]: this is logs"
end
|
.version ⇒ Object
4
5
6
|
# File 'lib/centuria/version.rb', line 4
def self.version
VERSION::STRING
end
|