Class: BlockNode

Inherits:
Struct
  • Object
show all
Defined in:
lib/doppelganger/extractor.rb

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



4
5
6
# File 'lib/doppelganger/extractor.rb', line 4

def body
  @body
end

#filenameObject

Returns the value of attribute filename

Returns:

  • (Object)

    the current value of filename



4
5
6
# File 'lib/doppelganger/extractor.rb', line 4

def filename
  @filename
end

#flat_body_arrayObject

Returns the value of attribute flat_body_array

Returns:

  • (Object)

    the current value of flat_body_array



4
5
6
# File 'lib/doppelganger/extractor.rb', line 4

def flat_body_array
  @flat_body_array
end

#last_lineObject

Returns the value of attribute last_line

Returns:

  • (Object)

    the current value of last_line



4
5
6
# File 'lib/doppelganger/extractor.rb', line 4

def last_line
  @last_line
end

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



4
5
6
# File 'lib/doppelganger/extractor.rb', line 4

def line
  @line
end

#nodeObject

Returns the value of attribute node

Returns:

  • (Object)

    the current value of node



4
5
6
# File 'lib/doppelganger/extractor.rb', line 4

def node
  @node
end