класс TrueClass
Открытые методы экземпляров
true не пустой:
true.blank? # => false
@return [false]
# File activesupport/lib/active_support/core_ext/object/blank.rb, line 75 def blank? false end
true не дублируется:
true.duplicable? # => false true.dup # => TypeError: can't dup TrueClass
# File activesupport/lib/active_support/core_ext/object/duplicable.rb, line 54 def duplicable? false end
Возвращает self.
# File activesupport/lib/active_support/core_ext/object/to_query.rb, line 24 def to_param self end
© 2004–2016 David Heinemeier Hansson
Licensed under the MIT License.