lib/rcap/extensions/array.rb in rcap-2.3.0 vs lib/rcap/extensions/array.rb in rcap-2.4.0
- old
+ new
@@ -6,6 +6,10 @@
# [ "one", "two words", "three" ].to_s_for_cap # => "one \"two words\" three"
# @see String#unpack_cap_list
def to_s_for_cap
self.map{ |element| element.to_s.for_cap_list }.join( ' ' )
end
+
+ def blank?
+ empty?
+ end
end