Class: MethodDef

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

Instance Attribute Summary collapse

Instance Attribute Details

#argsObject

Returns the value of attribute args

Returns:

  • (Object)

    the current value of args



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

def args
  @args
end

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



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

def body
  @body
end

#filenameObject

Returns the value of attribute filename

Returns:

  • (Object)

    the current value of filename



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

def filename
  @filename
end

#flat_body_arrayObject

Returns the value of attribute flat_body_array

Returns:

  • (Object)

    the current value of flat_body_array



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

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



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

def last_line
  @last_line
end

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



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

def line
  @line
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



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

def name
  @name
end

#nodeObject

Returns the value of attribute node

Returns:

  • (Object)

    the current value of node



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

def node
  @node
end