Class: Writer::Configuration
- Inherits:
-
Object
- Object
- Writer::Configuration
- Defined in:
- lib/writer/configuration.rb
Instance Attribute Summary collapse
-
#creator ⇒ Object
Returns the value of attribute creator.
-
#date_format ⇒ Object
Returns the value of attribute date_format.
-
#namer ⇒ Object
Returns the value of attribute namer.
-
#template_path ⇒ Object
Returns the value of attribute template_path.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 |
# File 'lib/writer/configuration.rb', line 7 def initialize @namer ||= 'Writer::FileNamer' @creator ||= 'Writer::FileCreator' end |
Instance Attribute Details
#creator ⇒ Object
Returns the value of attribute creator.
5 6 7 |
# File 'lib/writer/configuration.rb', line 5 def creator @creator end |
#date_format ⇒ Object
Returns the value of attribute date_format.
5 6 7 |
# File 'lib/writer/configuration.rb', line 5 def date_format @date_format end |
#namer ⇒ Object
Returns the value of attribute namer.
5 6 7 |
# File 'lib/writer/configuration.rb', line 5 def namer @namer end |
#template_path ⇒ Object
Returns the value of attribute template_path.
5 6 7 |
# File 'lib/writer/configuration.rb', line 5 def template_path @template_path end |