Class: Elisp2any::CodeBlock

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/elisp2any/code_block.rb

Instance Method Summary collapse

Constructor Details

#initialize(node) ⇒ CodeBlock

:nodoc:



5
6
7
# File 'lib/elisp2any/code_block.rb', line 5

def initialize(node) # :nodoc:
  @node = node
end

Instance Method Details

#append(source, end_byte) ⇒ Object

:nodoc:



9
10
11
# File 'lib/elisp2any/code_block.rb', line 9

def append(source, end_byte) # :nodoc:
  @node.append(source, end_byte)
end