Class: ManifestParser::PackageCallSpan

Inherits:
Struct
  • Object
show all
Defined in:
lib/spm_version_updates/manifest_parser.rb

Overview

Raw body and byte offsets for a direct ‘.package(…)` declaration.

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



25
26
27
# File 'lib/spm_version_updates/manifest_parser.rb', line 25

def body
  @body
end

#body_endObject

Returns the value of attribute body_end

Returns:

  • (Object)

    the current value of body_end



25
26
27
# File 'lib/spm_version_updates/manifest_parser.rb', line 25

def body_end
  @body_end
end

#body_startObject

Returns the value of attribute body_start

Returns:

  • (Object)

    the current value of body_start



25
26
27
# File 'lib/spm_version_updates/manifest_parser.rb', line 25

def body_start
  @body_start
end