class NilClass
An extension to the NilClass
, facilitating a transformation from nil to an empty (double quoted) string in the case of undefined attributes.
Public Instance Methods
wrap()
click to toggle source
Gives a double quoted, but otherwise empty string.
@return [String] a string containing two double-quotes
# File lib/rtp-connect/ruby_extensions.rb, line 121 def wrap '""' end