puppetlabs-stdlib/spec/unit/puppet/parser/functions
Steve Huff 4732676548 add a "step" argument to range()
This patch adds an optional "step" argument to the stdlib range()
function.  There is no change to the default behavior of the function;
however, passing a numeric "step" argument invokes the Ruby Range#step
method, e.g.

    range("0", "9", "2")

returns

    [0,2,4,6,8]
2012-04-03 11:46:20 -04:00
..
abs_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
bool2num_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
capitalize_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
chomp_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
chop_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
delete_at_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
delete_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
downcase_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
empty_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
flatten_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
getvar_spec.rb (#8010) Add getvar() rvalue function 2011-06-21 15:12:46 -07:00
grep_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
has_key_spec.rb (#8708) Add has_key function 2011-07-29 15:11:10 -07:00
hash_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
is_array_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
is_domain_name_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
is_float_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
is_hash_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
is_integer_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
is_ip_address_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
is_mac_address_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
is_numeric_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
is_string_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
join_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
keys_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
lstrip_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
member_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
merge_spec.rb (#8709) Add hash merging function 2011-07-29 15:28:21 -07:00
num2bool_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
parsejson_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
parseyaml_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
prefix_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
range_spec.rb add a "step" argument to range() 2012-04-03 11:46:20 -04:00
reverse_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
rstrip_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
shuffle_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
size_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
sort_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
squeeze_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
str2bool_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
strftime_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
strip_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
swapcase_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
time_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
type_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
unique_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
upcase_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
validate_array_spec.rb (#8678) Add validate_array and validate_string functions 2011-08-04 16:05:39 -07:00
validate_bool_spec.rb Add additional tests to validate_bool() spec 2011-06-03 11:56:02 -07:00
validate_hash_spec.rb (#8010) Add validate_hash spec tests 2011-06-21 17:02:22 -07:00
validate_string_spec.rb (#8678) Add validate_array and validate_string functions 2011-08-04 16:05:39 -07:00
values_at_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
values_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00
zip_spec.rb * Moved kwalify to puppetlabs-kwalify project 2011-08-05 08:46:38 +01:00