class Object

This file is from “activesupport/lib/active_support/core_ext/object/blank.rb”

Public Instance Methods

blank?() click to toggle source
# File lib/octokom/core_ext/blank.rb, line 4
def blank?
  respond_to?(:empty?) ? !!empty? : !self
end
present?() click to toggle source
# File lib/octokom/core_ext/blank.rb, line 8
def present?
  !blank?
end