Class: Doing::WWIDFile

Inherits:
Array
  • Object
show all
Defined in:
lib/doing/wwidfile.rb

Instance Method Summary collapse

Methods inherited from Array

#highlight_tags, #log_tags, #to_tags

Instance Method Details

#add_section(title) ⇒ Object

Adds a section.

Parameters:

  • title (String)

    The new section title

#from(path) ⇒ Object

#guess_section(frag, guessed: false, suggest: false) ⇒ Object

Attempt to match a string with an existing section

Parameters:

  • frag (String)

    The user-provided string

  • guessed (Boolean) (defaults to: false)

    already guessed and failed

#section_items(section) ⇒ Object

#section_titlesObject