Module: GCTuner::Configuration
- Included in:
- GCTuner
- Defined in:
- lib/gc_tuner/configuration.rb
Instance Attribute Summary collapse
-
#enabled ⇒ Object
writeonly
Sets the attribute enabled.
-
#sample_ratio ⇒ Object
Returns the value of attribute sample_ratio.
Instance Method Summary collapse
Instance Attribute Details
#enabled=(value) ⇒ Object (writeonly)
Sets the attribute enabled
6 7 8 |
# File 'lib/gc_tuner/configuration.rb', line 6 def enabled=(value) @enabled = value end |
#sample_ratio ⇒ Object
Returns the value of attribute sample_ratio.
5 6 7 |
# File 'lib/gc_tuner/configuration.rb', line 5 def sample_ratio @sample_ratio end |
Instance Method Details
#enabled? ⇒ Boolean
8 9 10 |
# File 'lib/gc_tuner/configuration.rb', line 8 def enabled? @enabled end |