Class: Doing::WWID

Inherits:
Object show all
Includes:
Display, Color, Editor, FileTools, Filter, Guess, Interactive, Modify, Tags, Timers, WWIDUtil
Defined in:
lib/doing/wwid.rb

Overview

Main "What Was I Doing" methods

Constant Summary

Constants included from Color

Color::ATTRIBUTES, Color::ATTRIBUTE_NAMES, Color::COLORED_REGEXP

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Color

#attributes, coloring?, #support?, template, #uncolor

Constructor Details

#initializeWWID

Initializes the object.

Instance Attribute Details

#additional_configsObject (readonly)

Returns the value of attribute additional_configs.

#configObject

For backwards compatibility where @wwid.config was accessed instead of Doing.config.settings

#config_fileObject

Returns the value of attribute config_file.

#contentObject (readonly)

Returns the value of attribute content.

#current_sectionObject (readonly)

Returns the value of attribute current_section.

#default_optionObject

Returns the value of attribute default_option.

#doing_fileObject (readonly)

Returns the value of attribute doing_file.

#initial_contentObject (readonly)

Returns the value of attribute initial_content.

Instance Method Details

#get_view(title) ⇒ Object

Gets a view from configuration

Parameters:

  • title (String)

    The title of the view to retrieve

#loggerObject

Logger

Responds to :debug, :info, :warn, and :error

Each method takes a topic, and a message or block

Example: debug('Hooks', 'Hook 1 triggered')

#sectionsArray

List sections

Returns:

  • (Array)

    section titles

#viewsArray

List available views

Returns: