Class: Karma::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/karma/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



9
10
11
12
# File 'lib/karma/config.rb', line 9

def initialize
  @host = 'localhost'
  @port = 8080
end

Instance Attribute Details

#hostObject

Returns the value of attribute host.



7
8
9
# File 'lib/karma/config.rb', line 7

def host
  @host
end

#portObject

Returns the value of attribute port.



7
8
9
# File 'lib/karma/config.rb', line 7

def port
  @port
end