lib/onstomp/components/frame_headers.rb in onstomp-1.0.5 vs lib/onstomp/components/frame_headers.rb in onstomp-1.0.6
- old
+ new
@@ -44,10 +44,10 @@
# @example
# header.set? 'content-type' #=> true
def set?(name)
@values.key?(name.to_sym)
end
-
+
# Returns true if a header value has been set for the supplied header, and
# the value is neither `nil` nor an empty string.
# @param [#to_sym] name the header name to test
# @return [Boolean]
# @example