Module: ObjectExtensions

Defined in:
lib/core_extensions.rb

Instance Method Summary collapse

Instance Method Details

#nieObject

Nil if empty.



22
23
24
# File 'lib/core_extensions.rb', line 22

def nie
  self.blank? ? nil : self
end