lib/volt/extra_core/object.rb
def or(other)
    if self && !self.nil?
      return self
    else
      return other
    end
  end
# Provides the same functionality as ||, but treats a nil model as falsy
Provides the same functionality as ||, but treats a nil model as falsy
Provides the same functionality as || but treats a nil model as falsy
def or(other)
    if self && !self.nil?
      return self
    else
      return other
    end
  end
def or ( other ) if self && ! self . nil? return self else return other end end
Provides the same functionality as ||, but treats a nil model as falsy
Provides the same functionality as || but treats a nil model as falsy
other