Sha256: 9b1ffb24f14db60c8d606edcab9b2e4e008f2e4e9518f86cfb4f85f8a67655ec

Contents?: true

Size: 192 Bytes

Versions: 5

Compression:

Stored size: 192 Bytes

Contents

module ScaffoldParser
  module FilePatches
    attr_accessor :indent

    def putsi(str)
      if indent
        puts str.prepend('  ')
      else
        puts str
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
scaffold_parser-0.5.0 lib/scaffold_parser/file_patches.rb
scaffold_parser-0.4.0 lib/scaffold_parser/file_patches.rb
scaffold_parser-0.3.0 lib/scaffold_parser/file_patches.rb
scaffold_parser-0.2.0 lib/scaffold_parser/file_patches.rb
scaffold_parser-0.1.0 lib/scaffold_parser/file_patches.rb