Module: FizzBuzzer
- Defined in:
- lib/fizzbuzzer.rb,
lib/fizzbuzzer.rb,
lib/fizzbuzzer/version.rb
Defined Under Namespace
Modules: Main, V1, V10, V11, V12a, V12b, V2a, V2b, V2c, V2d, V3, V4, V5, V6a, V6b, V7, V8, V9
Constant Summary
collapse
- MAJOR =
1
- MINOR =
1
- PATCH =
0
- VERSION =
[MAJOR,MINOR,PATCH].join('.')
Class Method Summary
collapse
Class Method Details
.banner ⇒ Object
15
16
17
|
# File 'lib/fizzbuzzer/version.rb', line 15
def self.banner
"fizzbuzzer/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
end
|
.main ⇒ Object
358
359
360
361
362
363
|
# File 'lib/fizzbuzzer.rb', line 358
def self.main
puts Main.fizzbuzz.join( ', ' )
end
|
.root ⇒ Object
19
20
21
|
# File 'lib/fizzbuzzer/version.rb', line 19
def self.root
"#{File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )}"
end
|
.version ⇒ Object
11
12
13
|
# File 'lib/fizzbuzzer/version.rb', line 11
def self.version
VERSION
end
|