Sha256: 654fae3d92cf843b5e474051262c422e83649abba1ea7e6a13e3e9bce14b5c09
Contents?: true
Size: 404 Bytes
Versions: 12
Compression:
Stored size: 404 Bytes
Contents
module Neo4j module Tasks module ConfigServer def config(data, port) s = set_property(data, 'org.neo4j.server.webserver.https.enabled', 'false') set_property(s, 'org.neo4j.server.webserver.port', port) end def set_property(data, property, value) data.gsub(/#{property}\s*=\s*(\w+)/, "#{property}=#{value}") end extend self end end end
Version data entries
12 entries across 12 versions & 1 rubygems