Sha256: 14331f162ca7b39acecdf14572ce5e2780f60aa6319e5b33af3a50dc76f7d8fd

Contents?: true

Size: 285 Bytes

Versions: 1

Compression:

Stored size: 285 Bytes

Contents

require 'singleton'

module Space2underscore
  class Printer
    include Singleton

    def run_with_raw(branch)
      run branch
    end

    def run_with_downcase(branch)
      run branch.downcase
    end

    private

    def run(branch)
      $stdout.puts branch
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
space2underscore-0.5.2 lib/space2underscore/printer.rb