Method: EtcdTools::Erb#value

Defined in:
lib/etcd-tools/erb.rb

#value(path) ⇒ Object



27
28
29
# File 'lib/etcd-tools/erb.rb', line 27

def value path
  @etcd.get('/' + path.sub(%r{^/+}, '')).value
end