Sha256: 32232d38a66af4a6b36a6008b3623d36ed22624654be8b468df0bef824014287

Contents?: true

Size: 305 Bytes

Versions: 1

Compression:

Stored size: 305 Bytes

Contents

class ServerConfiguration
  @@configuration = {}

  def self.set(property, value)
    @@configuration[property] = value
  end

  def self.get(property)
    @@configuration[property]
  end

  def self.delete(property)
    @@configuration.delete property
  end

  def self.raw
    @@configuration
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zurp-0.1.0 lib/zurp/serverconfiguration.rb