Skip to Content Skip to Search

class TrueClass

Public instance methods

true is not blank:

true.blank? # => false

@return [false]

Source code GitHub
# File activesupport/lib/active_support/core_ext/object/blank.rb, line 86
def blank?
  false
end

Returns self.

Source code GitHub
# File activesupport/lib/active_support/core_ext/object/to_query.rb, line 27
def to_param
  self
end

Definition files