Class: HeapPeriscopeAgent::Configuration
- Inherits:
-
Object
- Object
- HeapPeriscopeAgent::Configuration
- Defined in:
- lib/heap_periscope_agent/configuration.rb
Instance Attribute Summary collapse
-
#detailed_objects_limit ⇒ Object
Returns the value of attribute detailed_objects_limit.
-
#enable_detailed_objects ⇒ Object
Returns the value of attribute enable_detailed_objects.
-
#host ⇒ Object
Returns the value of attribute host.
-
#interval ⇒ Object
Returns the value of attribute interval.
-
#port ⇒ Object
Returns the value of attribute port.
-
#verbose ⇒ Object
Returns the value of attribute verbose.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 9 10 11 12 |
# File 'lib/heap_periscope_agent/configuration.rb', line 5 def initialize @interval = 10 # seconds @host = '127.0.0.1' @port = 9000 @verbose = true @enable_detailed_objects = false @detailed_objects_limit = 20 end |
Instance Attribute Details
#detailed_objects_limit ⇒ Object
Returns the value of attribute detailed_objects_limit.
3 4 5 |
# File 'lib/heap_periscope_agent/configuration.rb', line 3 def detailed_objects_limit @detailed_objects_limit end |
#enable_detailed_objects ⇒ Object
Returns the value of attribute enable_detailed_objects.
3 4 5 |
# File 'lib/heap_periscope_agent/configuration.rb', line 3 def enable_detailed_objects @enable_detailed_objects end |
#host ⇒ Object
Returns the value of attribute host.
3 4 5 |
# File 'lib/heap_periscope_agent/configuration.rb', line 3 def host @host end |
#interval ⇒ Object
Returns the value of attribute interval.
3 4 5 |
# File 'lib/heap_periscope_agent/configuration.rb', line 3 def interval @interval end |
#port ⇒ Object
Returns the value of attribute port.
3 4 5 |
# File 'lib/heap_periscope_agent/configuration.rb', line 3 def port @port end |
#verbose ⇒ Object
Returns the value of attribute verbose.
3 4 5 |
# File 'lib/heap_periscope_agent/configuration.rb', line 3 def verbose @verbose end |