Methods
Instance Public methods
blank?()
true
is not blank:
true.blank? # => false
@return [false]
📝 Source code
# File activesupport/lib/active_support/core_ext/object/blank.rb, line 79
def blank?
false
end
🔎 See on GitHub
duplicable?()
true
is not duplicable:
true.duplicable? # => false
true.dup # => TypeError: can't dup TrueClass
📝 Source code
# File activesupport/lib/active_support/core_ext/object/duplicable.rb, line 70
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 27
def to_param
self
end
🔎 See on GitHub