Class: TrueClass

Inherits:
Object show all
Defined in:
lib/gorillib/object/blank.rb,
lib/gorillib/object/try_dup.rb

Overview

class NilClass

Instance Method Summary collapse

Instance Method Details

#blank?FalseClass

True is never blank.

true.blank? #=> false

Returns:



65
66
67
# File 'lib/gorillib/object/blank.rb', line 65

def blank?
  false
end

#try_dupObject



11
12
13
# File 'lib/gorillib/object/try_dup.rb', line 11

def try_dup
  self
end