class StandupMD::Config::Entry

The configuration class for StandupMD::Entry

Constants

DEFAULTS

The default options.

@return [Hash]

Attributes

current[RW]

Tasks for “Current” section.

@param [Array] current

@return [Array]

impediments[RW]

Impediments for this entry.

@param [Array] impediments

@return [Array]

notes[RW]

Notes for this entry.

@param [Array] notes

@return [Array]

previous[RW]

Tasks for “Previous” section.

@param [Array] previous

@return [Array]

Public Class Methods

new() click to toggle source

Initializes the config with default values.

# File lib/standup_md/config/entry.rb, line 53
def initialize
  reset
end

Public Instance Methods

reset() click to toggle source

Sets all config values back to their defaults.

@return [Hash]

# File lib/standup_md/config/entry.rb, line 61
def reset
  DEFAULTS.each { |k, v| instance_variable_set("@#{k}", v) }
end