Class: NilClass

Inherits:
Object show all
Defined in:
lib/webrat/core_extensions/blank.rb,
lib/webrat/core_extensions/nil_to_param.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)


23
24
25
# File 'lib/webrat/core_extensions/blank.rb', line 23

def blank?
  true
end

#to_paramObject



2
3
4
# File 'lib/webrat/core_extensions/nil_to_param.rb', line 2

def to_param
  nil
end