Methods

Instance Public methods

blank?()

false is blank:

false.blank? # => true

@return [true]

📝 Source code
# File activesupport/lib/active_support/core_ext/object/blank.rb, line 68
  def blank?
    true
  end
🔎 See on GitHub

duplicable?()

false is not duplicable:

false.duplicable? # => false
false.dup         # => TypeError: can't dup FalseClass
📝 Source code
# File activesupport/lib/active_support/core_ext/object/duplicable.rb, line 55
    def duplicable?
      false
    end
🔎 See on GitHub

to_param()

Returns self.

📝 Source code
# File activesupport/lib/active_support/core_ext/object/to_query.rb, line 34
  def to_param
    self
  end
🔎 See on GitHub