Class: Oboe_metal::Context
- Inherits:
-
Object
- Object
- Oboe_metal::Context
- Defined in:
- lib/oboe-heroku/base.rb
Class Attribute Summary collapse
-
.layer_op ⇒ Object
Returns the value of attribute layer_op.
Class Method Summary collapse
Class Attribute Details
.layer_op ⇒ Object
Returns the value of attribute layer_op.
28 29 30 |
# File 'lib/oboe-heroku/base.rb', line 28 def layer_op @layer_op end |
Class Method Details
.tracing_layer_op?(operation) ⇒ Boolean
30 31 32 33 34 35 36 |
# File 'lib/oboe-heroku/base.rb', line 30 def tracing_layer_op?(operation) if operation.is_a?(Array) return operation.include?(@layer_op) else return @layer_op == operation end end |