Class: Dms::Comment

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

Overview

A captured comment. ‘content` is raw source incl. delimiters. `kind` is :line or :block.

Instance Attribute Summary collapse

Instance Attribute Details

#contentObject

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



79
80
81
# File 'lib/dms/types.rb', line 79

def content
  @content
end

#kindObject

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



79
80
81
# File 'lib/dms/types.rb', line 79

def kind
  @kind
end