Sha256: f8957060f7558b7b9694370161a35d2d5a890dbd2014e412dd5c42142edaa92a
Contents?: true
Size: 661 Bytes
Versions: 4
Compression:
Stored size: 661 Bytes
Contents
module Nunchaku class Message attr_reader :type, :subtype, :first_line, :last_line, :first_column, :last_column, :message, :extract, :hilite_start, :hilite_length def initialize(data) @type = data['type'] @subtype = data['subType'] @first_line = data['firstLine'] @last_line = data['lastLine'] @first_column = data['firstColumn'] @last_column = data['lastColumn'] @message = data['message'] @extract = data['extract'] @hilite_start = data['hiliteStart'] @hilite_length = data['hiliteLength'] end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
nunchaku-0.2.1 | lib/nunchaku/message.rb |
nunchaku-0.2.0 | lib/nunchaku/message.rb |
nunchaku-0.1.1 | lib/nunchaku/message.rb |
nunchaku-0.1.0 | lib/nunchaku/message.rb |