Class: NilClass

Inherits:
Object show all
Defined in:
lib/commonthread/monkey_patches.rb

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)


142
143
144
# File 'lib/commonthread/monkey_patches.rb', line 142

def blank?
  true
end

#eachObject



126
127
128
# File 'lib/commonthread/monkey_patches.rb', line 126

def each
  nil
end

#empty?Boolean

Returns:

  • (Boolean)


138
139
140
# File 'lib/commonthread/monkey_patches.rb', line 138

def empty?
  true
end

#to_s(format = nil) ⇒ Object



130
131
132
# File 'lib/commonthread/monkey_patches.rb', line 130

def to_s(format = nil)
  ""
end

#to_xsObject



134
135
136
# File 'lib/commonthread/monkey_patches.rb', line 134

def to_xs
	""
end