lib/consul/async/consul_template.rb in consul-templaterb-1.5.2 vs lib/consul/async/consul_template.rb in consul-templaterb-1.5.3
- old
+ new
@@ -283,16 +283,17 @@
res
end
end
class ConsulTemplateAbstractMap < ConsulTemplateAbstract
- def_delegators :result_delegate, :each, :[], :keys, :sort, :values, :each_pair, :each_value
+ def_delegators :result_delegate, :each, :[], :keys, :sort, :select, :values, :each_pair, :each_value, :count, :empty?, :map
def initialize(consul_endpoint)
super(consul_endpoint)
end
end
class ConsulTemplateAbstractArray < ConsulTemplateAbstract
+ def_delegators :result_delegate, :each, :[], :sort, :select, :each_value, :count, :empty?, :map, :to_a
def initialize(consul_endpoint)
super(consul_endpoint)
end
end