Class: Vim::Netbeans::Reply

Inherits:
Message
  • Object
show all
Defined in:
lib/vim/netbeans.rb

Instance Attribute Summary collapse

Attributes inherited from Message

#message

Instance Method Summary collapse

Methods inherited from Message

#to_s

Constructor Details

#initialize(message) ⇒ Reply

Returns a new instance of Reply.



47
48
49
50
51
# File 'lib/vim/netbeans.rb', line 47

def initialize(message)
  super
  @seqno, @value = message.split(/\s/)
  @seqno = @seqno.to_i
end

Instance Attribute Details

#seqnoObject (readonly)

Returns the value of attribute seqno.



46
47
48
# File 'lib/vim/netbeans.rb', line 46

def seqno
  @seqno
end

#valueObject (readonly)

Returns the value of attribute value.



46
47
48
# File 'lib/vim/netbeans.rb', line 46

def value
  @value
end