Class: Dms::AttachedComment

Inherits:
Struct
  • Object
show all
Defined in:
lib/dms/types.rb

Overview

An attached comment. ‘position` is :leading, :trailing, :floating, or :inner. `path` is an Array of String (key) / Integer (index).

Instance Attribute Summary collapse

Instance Attribute Details

#commentObject

Returns the value of attribute comment

Returns:

  • (Object)

    the current value of comment



84
85
86
# File 'lib/dms/types.rb', line 84

def comment
  @comment
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



84
85
86
# File 'lib/dms/types.rb', line 84

def path
  @path
end

#positionObject

Returns the value of attribute position

Returns:

  • (Object)

    the current value of position



84
85
86
# File 'lib/dms/types.rb', line 84

def position
  @position
end