W3cubDocs

/Ruby on Rails 7.0

class FalseClass

Parent:
Object

Public Instance Methods

blank?() Show source
# File activesupport/lib/active_support/core_ext/object/blank.rb, line 67
def blank?
  true
end

false is blank:

false.blank? # => true

@return [true]

to_param() Show source
# File activesupport/lib/active_support/core_ext/object/to_query.rb, line 34
def to_param
  self
end

Returns self.

© 2004–2021 David Heinemeier Hansson
Licensed under the MIT License.