Class: Assistor::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/assistor/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#delayObject

Returns the value of attribute delay.



3
4
5
# File 'lib/assistor/configuration.rb', line 3

def delay
  @delay
end

#idObject

Returns the value of attribute id.



3
4
5
# File 'lib/assistor/configuration.rb', line 3

def id
  @id
end

#log_fileObject

Returns the value of attribute log_file.



4
5
6
# File 'lib/assistor/configuration.rb', line 4

def log_file
  @log_file
end

#pid_fileObject

Returns the value of attribute pid_file.



4
5
6
# File 'lib/assistor/configuration.rb', line 4

def pid_file
  @pid_file
end

#sizeObject

Returns the value of attribute size.



3
4
5
# File 'lib/assistor/configuration.rb', line 3

def size
  @size
end

Instance Method Details

#exception_handlerObject



18
19
20
# File 'lib/assistor/configuration.rb', line 18

def exception_handler
  @exception_handler || Proc.new {}
end

#exception_handler=(exception_handler) ⇒ Object



14
15
16
# File 'lib/assistor/configuration.rb', line 14

def exception_handler=(exception_handler)
  @exception_handler = exception_handler
end