Sha256: d3bd593ca300150f200959e7c69f494790bdef1482e93bee9b0767b4de9c0a83

Contents?: true

Size: 384 Bytes

Versions: 4

Compression:

Stored size: 384 Bytes

Contents

module ArchChecker
  module Presenters
    class Text
      def render constraint_breaks
        file = File.new('violations.txt', 'w')
        constraint_breaks.each do |constraint_break|
          constraint_break.each do |violations|
            file.puts "#{violations.keys.first} #{violations[violations.keys.first]}"
          end
        end        
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
archruby-0.3.0 lib/archruby/presenters/text.rb
archruby-0.2.0 lib/archruby/presenters/text.rb
archruby-0.1.1 lib/archruby/presenters/text.rb
archruby-0.1.0 lib/archruby/presenters/text.rb