Class: RedQuilt::Inline::Builder::Delimiter

Inherits:
Struct
  • Object
show all
Defined in:
lib/red_quilt/inline/builder.rb

Overview

‘count` is the CommonMark delimiter-run length; a Delimiter is never enumerated, so shadowing Struct#count (from Enumerable) is intentional rather than a footgun.

Instance Attribute Summary collapse

Instance Attribute Details

#can_closeObject

Returns the value of attribute can_close

Returns:

  • (Object)

    the current value of can_close



26
27
28
# File 'lib/red_quilt/inline/builder.rb', line 26

def can_close
  @can_close
end

#can_openObject

Returns the value of attribute can_open

Returns:

  • (Object)

    the current value of can_open



26
27
28
# File 'lib/red_quilt/inline/builder.rb', line 26

def can_open
  @can_open
end

#charObject

Returns the value of attribute char

Returns:

  • (Object)

    the current value of char



26
27
28
# File 'lib/red_quilt/inline/builder.rb', line 26

def char
  @char
end

#countObject

Returns the value of attribute count

Returns:

  • (Object)

    the current value of count



26
27
28
# File 'lib/red_quilt/inline/builder.rb', line 26

def count
  @count
end

#node_idObject

Returns the value of attribute node_id

Returns:

  • (Object)

    the current value of node_id



26
27
28
# File 'lib/red_quilt/inline/builder.rb', line 26

def node_id
  @node_id
end