Class: USDT::Probe
- Inherits:
-
Object
- Object
- USDT::Probe
- Defined in:
- lib/usdt/stubs/probe.rb,
ext/usdt/real/usdt.c
Instance Attribute Summary collapse
-
#arguments ⇒ Object
readonly
Returns the value of attribute arguments.
-
#function ⇒ Object
readonly
Returns the value of attribute function.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
- #enabled? ⇒ Boolean
- #fire(*args) ⇒ Object
-
#initialize(function, name, *args) ⇒ Probe
constructor
A new instance of Probe.
Constructor Details
#initialize(function, name, *args) ⇒ Probe
Returns a new instance of Probe.
5 6 7 8 9 |
# File 'lib/usdt/stubs/probe.rb', line 5 def initialize(function, name, *args) @function = function.to_sym @name = name.to_sym @arguments = args end |
Instance Attribute Details
#arguments ⇒ Object (readonly)
Returns the value of attribute arguments.
18 19 20 |
# File 'ext/usdt/real/usdt.c', line 18 def arguments @arguments end |
#function ⇒ Object (readonly)
Returns the value of attribute function.
16 17 18 |
# File 'ext/usdt/real/usdt.c', line 16 def function @function end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
17 18 19 |
# File 'ext/usdt/real/usdt.c', line 17 def name @name end |
Instance Method Details
#enabled? ⇒ Boolean
14 15 16 |
# File 'ext/usdt/real/usdt.c', line 14 def enabled? false end |
#fire(*args) ⇒ Object
15 16 17 |
# File 'ext/usdt/real/usdt.c', line 15 def fire(*args) false end |