Sha256: 7caec5407f1a238b214d14eb28ced70cca80544617a479cc7e38d55ee23dfdb7

Contents?: true

Size: 246 Bytes

Versions: 15

Compression:

Stored size: 246 Bytes

Contents

module LocalPac
  module Actions
    class PrintNewline
      private

      attr_reader :count

      public

      def initialize(count = 1)
        @count = count
      end

      def run
        print "\n" * count
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
local_pac-0.10.2 lib/local_pac/actions/print_newline.rb
local_pac-0.10.1 lib/local_pac/actions/print_newline.rb
local_pac-0.10.0 lib/local_pac/actions/print_newline.rb
local_pac-0.9.0 lib/local_pac/actions/print_newline.rb
local_pac-0.7.0 lib/local_pac/actions/print_newline.rb
local_pac-0.6.3 lib/local_pac/actions/print_newline.rb
local_pac-0.6.2 lib/local_pac/actions/print_newline.rb
local_pac-0.6.1 lib/local_pac/actions/print_newline.rb
local_pac-0.5.0 lib/local_pac/actions/print_newline.rb
local_pac-0.4.0 lib/local_pac/actions/print_newline.rb
local_pac-0.3.0 lib/local_pac/actions/print_newline.rb
local_pac-0.2.3 lib/local_pac/actions/print_newline.rb
local_pac-0.2.2 lib/local_pac/actions/print_newline.rb
local_pac-0.2.1 lib/local_pac/actions/print_newline.rb
local_pac-0.2.0 lib/local_pac/actions/print_newline.rb