Class: Fast::SourceRewriter::Edit

Inherits:
Struct
  • Object
show all
Defined in:
lib/fast/source_rewriter.rb

Instance Attribute Summary collapse

Instance Attribute Details

#begin_posObject

Returns the value of attribute begin_pos

Returns:

  • (Object)

    the current value of begin_pos



7
8
9
# File 'lib/fast/source_rewriter.rb', line 7

def begin_pos
  @begin_pos
end

#contentObject

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



7
8
9
# File 'lib/fast/source_rewriter.rb', line 7

def content
  @content
end

#end_posObject

Returns the value of attribute end_pos

Returns:

  • (Object)

    the current value of end_pos



7
8
9
# File 'lib/fast/source_rewriter.rb', line 7

def end_pos
  @end_pos
end

#kindObject

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



7
8
9
# File 'lib/fast/source_rewriter.rb', line 7

def kind
  @kind
end

#orderObject

Returns the value of attribute order

Returns:

  • (Object)

    the current value of order



7
8
9
# File 'lib/fast/source_rewriter.rb', line 7

def order
  @order
end