Colon in Ruby

in Slots

1) abc: it can’t exist independently 2) :xyz it is a symbol :xyz.class => Symbol3) abc::xyz it represents namespace Example code: module ABC class Xyz def initialize @size = 400
Continue Reading

替换homebrew默认源

in Ruby

12cd "$(brew --repo)"git remote set-url origin git://mirrors.ustc.edu.cn/brew.git 来源https://lug.ustc.edu.cn/wiki/mirrors/help/brew.git $ gem sources –add https://gems.ruby-china.org/ –remove https://r
Continue Reading

  • page 1 of 1

Consiiii

China


老板,我什么都能干


China