class Paru::PandocFilter::EmptyBlock
An EmptyBlock
, has not contents
Public Class Methods
new(contents = [])
click to toggle source
Create an empty block
Calls superclass method
# File lib/paru/filter/empty_block.rb, line 27 def initialize(contents = []) super [] end
Public Instance Methods
to_ast()
click to toggle source
Create an AST representation of this EmptyBlock
# File lib/paru/filter/empty_block.rb, line 32 def to_ast { "t" => ast_type } end