Class: SyncFiles::Config::Parser
- Inherits:
-
Object
- Object
- SyncFiles::Config::Parser
- Defined in:
- lib/sync_files/config/parser.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
-
#initialize(config:) ⇒ Parser
constructor
A new instance of Parser.
Constructor Details
#initialize(config:) ⇒ Parser
Returns a new instance of Parser.
11 12 13 14 |
# File 'lib/sync_files/config/parser.rb', line 11 def initialize(config:) @config = config parse end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
9 10 11 |
# File 'lib/sync_files/config/parser.rb', line 9 def config @config end |