lib/openc3/accessors/form_accessor.rb in openc3-5.18.0 vs lib/openc3/accessors/form_accessor.rb in openc3-5.19.0
- old
+ new
@@ -43,11 +43,11 @@
def self.write_item(item, value, buffer)
ary = URI.decode_www_form(buffer)
# Remove existing item and bad keys from array
- ary.reject! {|key, ary_value| (key == item.key) or (key.to_s[0] == "\u0000")}
+ ary.reject! {|key, _ary_value| (key == item.key) or (key.to_s[0] == "\u0000")}
if Array === value
value.each do |value_value|
ary << [item.key, value_value]
end
@@ -77,10 +77,10 @@
# Note that the buffer is still resized to the defined length
def enforce_short_buffer_allowed
return true
end
- # If this is true it will enfore that COSMOS DERIVED items must have a
+ # If this is true it will enforce that COSMOS DERIVED items must have a
# write_conversion to be written
def enforce_derived_write_conversion(_item)
return true
end
end