Class: StandupMD::Config
- Inherits:
-
Object
- Object
- StandupMD::Config
- Defined in:
- lib/standup_md/config.rb,
lib/standup_md/config/cli.rb,
lib/standup_md/config/file.rb,
lib/standup_md/config/entry.rb,
lib/standup_md/config/entry_list.rb
Overview
This class provides a connector from StandupMD to the configuration classes.
Defined Under Namespace
Classes: Cli, Entry, EntryList, File
Instance Attribute Summary collapse
-
#cli ⇒ StandupMD::Config::Cli
readonly
Reader for Cli config.
-
#entry ⇒ StandupMD::Config::Entry
readonly
Reader for Entry config.
-
#entry_list ⇒ StandupMD::Config::EntryList
readonly
Reader for EntryList config.
-
#file ⇒ StandupMD::Config::File
readonly
Reader for File config.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
Builds the links to the configuration classes.
Constructor Details
#initialize ⇒ Config
Builds the links to the configuration classes.
38 39 40 41 42 43 |
# File 'lib/standup_md/config.rb', line 38 def initialize @cli = StandupMD::Config::Cli.new @file = StandupMD::Config::File.new @entry = StandupMD::Config::Entry.new @entry_list = StandupMD::Config::EntryList.new end |
Instance Attribute Details
#cli ⇒ StandupMD::Config::Cli (readonly)
Reader for Cli config.
16 17 18 |
# File 'lib/standup_md/config.rb', line 16 def cli @cli end |
#entry ⇒ StandupMD::Config::Entry (readonly)
Reader for Entry config.
28 29 30 |
# File 'lib/standup_md/config.rb', line 28 def entry @entry end |
#entry_list ⇒ StandupMD::Config::EntryList (readonly)
Reader for EntryList config.
34 35 36 |
# File 'lib/standup_md/config.rb', line 34 def entry_list @entry_list end |
#file ⇒ StandupMD::Config::File (readonly)
Reader for File config.
22 23 24 |
# File 'lib/standup_md/config.rb', line 22 def file @file end |