class FalseClass - activesupport-4.2.4 Documentation

# class FalseClass

### Public Instance Methods

blank?() click to toggle source

`false` is blank:

    false.blank? # => true

@return [true]

    # File lib/active_support/core_ext/object/blank.rb, line 64
    def blank?
      true
    end

duplicable?() click to toggle source

`false` is not duplicable:

    false.duplicable? # => false
    false.dup         # => TypeError: can't dup FalseClass

    # File lib/active_support/core_ext/object/duplicable.rb, line 44
    def duplicable?
      false
    end

to_param() click to toggle source

Returns `self`.

    # File lib/active_support/core_ext/object/to_query.rb, line 32
    def to_param
      self
    end