Ruby
China
Topics
招聘
Wiki
酷站
Gems
Sign Up
Sign In
ianye
@iansrc0811
Member
NO. 31000 /
2017-04-04
0
Topics
/
2
Replies
0
Followers
0
Following
17
Favorites
GitHub Public Repos
Overview
Topics
Replies
Favorites
Following
Followers
理解 Rails 之 Array 的 extract_options! 方法
at
January 22, 2018
原碼如下
def
extract_options!
last
.
is_a?
(
::
Hash
)
?
pop
:
{}
end
剛剛也正在找這個 看原碼理解最快!
Ruby 用户指南 (简体中文)-初版发布
at
September 27, 2017
謝謝分享