@@ -148,7 +148,7 @@ def parse_get_request data
148148      # data[2] is error_index, always zero. 
149149      send  :error_status= ,  0 
150150      send  :error_index= ,  0 
151-       data [ 3 ] . each  do  |n , v |
151+       data [ 3 ] . each  do  |n ,   v |
152152        # A variable-binding, of which there may be several, 
153153        # consists of an OID and a BER null. 
154154        # We're ignoring the null, we might want to verify it instead. 
@@ -166,7 +166,7 @@ def parse_get_response data
166166      send  :request_id= ,  data [ 0 ] . to_i 
167167      send  :error_status= ,  data [ 1 ] . to_i 
168168      send  :error_index= ,  data [ 2 ] . to_i 
169-       data [ 3 ] . each  do  |n , v |
169+       data [ 3 ] . each  do  |n ,   v |
170170        # A variable-binding, of which there may be several, 
171171        # consists of an OID and a BER null. 
172172        # We're ignoring the null, we might want to verify it instead. 
@@ -177,7 +177,7 @@ def parse_get_response data
177177
178178
179179    def  version =  ver 
180-       unless  [ 0 , 2 ] . include? ( ver ) 
180+       unless  [ 0 ,   2 ] . include? ( ver ) 
181181        raise  Error . new ( "unknown snmp-version: #{ ver }  " ) 
182182      end 
183183      @version  =  ver 
@@ -227,7 +227,7 @@ def pdu_to_ber_string
227227          error_status . to_ber , 
228228          error_index . to_ber , 
229229          [ 
230-             @variables . map  do |n , v |
230+             @variables . map  do |n ,   v |
231231              [ n . to_ber_oid ,  Net ::BER ::BerIdentifiedNull . new . to_ber ] . to_ber_sequence 
232232            end 
233233          ] . to_ber_sequence 
@@ -238,7 +238,7 @@ def pdu_to_ber_string
238238          error_status . to_ber , 
239239          error_index . to_ber , 
240240          [ 
241-             @variables . map  do |n , v |
241+             @variables . map  do |n ,   v |
242242              [ n . to_ber_oid ,  Net ::BER ::BerIdentifiedNull . new . to_ber ] . to_ber_sequence 
243243            end 
244244          ] . to_ber_sequence 
@@ -249,7 +249,7 @@ def pdu_to_ber_string
249249          error_status . to_ber , 
250250          error_index . to_ber , 
251251          [ 
252-             @variables . map  do |n , v |
252+             @variables . map  do |n ,   v |
253253              [ n . to_ber_oid ,  v . to_ber ] . to_ber_sequence 
254254            end 
255255          ] . to_ber_sequence 
0 commit comments