Array#shift

来源:互联网 发布:大数据标签体系 编辑:程序博客网 时间:2024/05/18 23:25
require "PP"
a = ["-m", "-q", "filename"]
a.shift
PP::pp a #["-q", "filename"]
 
原创粉丝点击