Sha256: 57578400bd6f8d11b37959c60f1b52748d52e7f3564ad16baedbb4ddd96364ea
Contents?: true
Size: 374 Bytes
Versions: 6
Compression:
Stored size: 374 Bytes
Contents
CheckstyleError = Struct.new(:file_name, :line, :column, :severity, :message, :source) do def self.generate(node, parent_node, base_path) CheckstyleError.new( parent_node[:name].sub(/^#{base_path}/, ""), node[:line].to_i, node[:column].nil? ? nil : node[:column].to_i, node[:severity], node[:message], node[:source] ) end end
Version data entries
6 entries across 6 versions & 2 rubygems