Class: Datadog::DI::CaptureExpression Private
- Inherits:
-
Object
- Object
- Datadog::DI::CaptureExpression
- Defined in:
- lib/datadog/di/capture_expression.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #expr ⇒ Object readonly private
- #limits ⇒ Object readonly private
- #name ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(name:, expr:, limits: nil) ⇒ CaptureExpression
constructor
private
A new instance of CaptureExpression.
Constructor Details
#initialize(name:, expr:, limits: nil) ⇒ CaptureExpression
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of CaptureExpression.
8 9 10 11 12 |
# File 'lib/datadog/di/capture_expression.rb', line 8 def initialize(name:, expr:, limits: nil) @name = name @expr = expr @limits = limits end |
Instance Attribute Details
#expr ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
16 17 18 |
# File 'lib/datadog/di/capture_expression.rb', line 16 def expr @expr end |
#limits ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
18 19 20 |
# File 'lib/datadog/di/capture_expression.rb', line 18 def limits @limits end |
#name ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
14 15 16 |
# File 'lib/datadog/di/capture_expression.rb', line 14 def name @name end |