Method: Escapement::Tag#initialize

Defined in:
lib/escapement/tag.rb

#initialize(node, start_position) ⇒ Tag

Returns a new instance of Tag.



11
12
13
14
15
# File 'lib/escapement/tag.rb', line 11

def initialize(node, start_position)
  @node = node
  @start_position = @current_position = start_position
  @entities = []
end