class Decode::Comment::Pragma

Asserts a specific property about the method signature.

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