0.01
No commit activity in last 3 years
No release in over a year
Use with range from https://github.com/square/libcrange
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

rangeclient synopsis

rangehost = ARGV.shift
rangearg = ARGV.shift

# Create range object for communication with ranged
r = Range::Client.new({:host => rangehost})

# use ranged to expand the range expression into an Array
# "foo10..12" => [ foo10, foo11, foo12 ] OR %foo => [ foo10, foo11, foo12 ]
hosts =  r.expand(rangearg)

# use ranged to compress the array of hostnames into a range expression
# [ foo10, foo11, foo12 ] => "foo10..12"
range_exp = r.compress(hosts)

Imported from https://github.com/square/prodeng.