Class: Nonnative::ConfigurationProxy

Inherits:
Object
  • Object
show all
Defined in:
lib/nonnative/configuration_proxy.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfigurationProxy

Returns a new instance of ConfigurationProxy.



7
8
9
10
11
12
# File 'lib/nonnative/configuration_proxy.rb', line 7

def initialize
  self.kind = 'none'
  self.host = '0.0.0.0'
  self.port = 0
  self.options = {}
end

Instance Attribute Details

#hostObject

Returns the value of attribute host.



5
6
7
# File 'lib/nonnative/configuration_proxy.rb', line 5

def host
  @host
end

#kindObject

Returns the value of attribute kind.



5
6
7
# File 'lib/nonnative/configuration_proxy.rb', line 5

def kind
  @kind
end

#logObject

Returns the value of attribute log.



5
6
7
# File 'lib/nonnative/configuration_proxy.rb', line 5

def log
  @log
end

#optionsObject

Returns the value of attribute options.



5
6
7
# File 'lib/nonnative/configuration_proxy.rb', line 5

def options
  @options
end

#portObject

Returns the value of attribute port.



5
6
7
# File 'lib/nonnative/configuration_proxy.rb', line 5

def port
  @port
end