Sha256: 363cb021c299d6ce3bb941821fe6cd2e4e29c0fca9c52f96410af11350086f98

Contents?: true

Size: 295 Bytes

Versions: 1

Compression:

Stored size: 295 Bytes

Contents

# frozen_string_literal: true

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.3 lib/space2underscore/printer.rb