跳至内容 跳至搜索
方法
B
T

实例公共方法

blank?()

true 不是空值

true.blank? # => false

@return [false]

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

to_param()

返回 self.

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