Sha256: 36314fb7b538ec114eb40797d660fcb320973dc5c85484995f97a78d2cb9a5a2

Contents?: true

Size: 216 Bytes

Versions: 1

Compression:

Stored size: 216 Bytes

Contents

module Foobar::Facade
  class FoobarMaker
    def execute(num = 1)
      output = ''

      output = "#{output}Foo" if (num % 3).zero?
      output = "#{output}Bar" if (num % 5).zero?

      output
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
foobarfoo-0.1.0 lib/foobar/facade.rb