Class: NilClass
- Inherits:
-
Object
- Object
- NilClass
- Defined in:
- lib/rtp-connect/ruby_extensions.rb
Overview
An extension to the NilClass, facilitating a transformation from nil to an empty (double quoted) string in the case of undefined attributes.
Instance Method Summary collapse
-
#wrap ⇒ String
Gives a double quoted, but otherwise empty string.
Instance Method Details
#wrap ⇒ String
Gives a double quoted, but otherwise empty string.
121 122 123 |
# File 'lib/rtp-connect/ruby_extensions.rb', line 121 def wrap '""' end |