diff options
author | Saku Ytti <saku@ytti.fi> | 2014-04-15 21:27:54 +0300 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2014-04-15 21:27:54 +0300 |
commit | ff15057823db09509f76512d59ed87c316d882dc (patch) | |
tree | 8fd8bd4d7bee41e76dc76ebc9275be5431c11232 /lib/oxidized/model/ios.rb | |
parent | 8abe0b299990fba0e12875634368922abe2710df (diff) |
Use String subclass in model#cmd
Will allow convenience methods such as
cmd :all do |cfg|
cfg.pop.shift
end
instead of:
cmd :all do |cfg|
cfg.each_line.to_a[1..-2].join
end
And what ever convenience configs we come up with
Diffstat (limited to 'lib/oxidized/model/ios.rb')
0 files changed, 0 insertions, 0 deletions