class Decode::Comment::Pragma
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.`
Public Class Methods
build(directive, text)
click to toggle source
# File lib/decode/comment/pragma.rb, line 37 def self.build(directive, text) node = self.new(directive) if text node.add(Text.new(text)) end return node end
new(directive)
click to toggle source
Calls superclass method
# File lib/decode/comment/pragma.rb, line 47 def initialize(directive) super(directive) end
parse(directive, text, lines, tags, level = 0)
click to toggle source
# File lib/decode/comment/pragma.rb, line 33 def self.parse(directive, text, lines, tags, level = 0) self.build(directive, text) end