Module: FizzBuzzer

Defined in:
lib/fizzbuzzer.rb,
lib/fizzbuzzer.rb,
lib/fizzbuzzer/version.rb

Defined Under Namespace

Modules: Golf, Main, V1, V10, V11a, V11b, V12a, V12b, V13, V2a, V2b, V2c, V2d, V3, V4, V5, V6a, V6b, V7, V8, V9

Constant Summary collapse

MAJOR =
1
MINOR =
1
PATCH =
1
VERSION =
[MAJOR,MINOR,PATCH].join('.')

Class Method Summary collapse

Class Method Details



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

.mainObject



460
461
462
463
464
465
# File 'lib/fizzbuzzer.rb', line 460

def self.main
  puts Main.fizzbuzz.join( ', ' )

  ## print source add the end  e.g. source:
  ##   possible why? why not?
end

.rootObject



19
20
21
# File 'lib/fizzbuzzer/version.rb', line 19

def self.root
  "#{File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )}"
end

.versionObject



11
12
13
# File 'lib/fizzbuzzer/version.rb', line 11

def self.version
  VERSION
end