Class: Decode::Comment::Pragma
- Defined in:
- lib/decode/comment/pragma.rb
Overview
Asserts a specific property about the method signature.
-
‘@reentrant This method is thread-safe.`
-
‘@deprecated Please use other_method instead.`
-
‘@blocking This method may block.`
-
‘@asynchronous This method may yield.`
Constant Summary collapse
- PATTERN =
/\A(?<details>.*?)?\Z/
Instance Attribute Summary
Attributes inherited from Tag
Attributes inherited from Node
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(directive) ⇒ Pragma
constructor
A new instance of Pragma.
Methods inherited from Tag
Methods inherited from Node
#add, #children?, #each, #text, #traverse
Constructor Details
#initialize(directive) ⇒ Pragma
Returns a new instance of Pragma.
45 46 47 |
# File 'lib/decode/comment/pragma.rb', line 45 def initialize(directive) super(directive) end |