Class: FMPVC::Configuration
- Inherits:
-
Object
- Object
- FMPVC::Configuration
- Defined in:
- lib/fmpvc/configuration.rb
Instance Attribute Summary collapse
-
#ddr_basedir ⇒ Object
Returns the value of attribute ddr_basedir.
-
#ddr_dirname ⇒ Object
Returns the value of attribute ddr_dirname.
-
#ddr_filename ⇒ Object
Returns the value of attribute ddr_filename.
-
#quiet ⇒ Object
Returns the value of attribute quiet.
-
#text_dirname ⇒ Object
Returns the value of attribute text_dirname.
-
#tree_filename ⇒ Object
Returns the value of attribute tree_filename.
-
#yaml ⇒ Object
Returns the value of attribute yaml.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/fmpvc/configuration.rb', line 6 def initialize # set default config settings @quiet = false # don't print progress to stdout @yaml = true # append full YAML to text files @ddr_filename = 'Summary.xml' # name of primary DDR file to open @ddr_dirname = 'fmp_ddr' # directory containing DDR @ddr_basedir = './' # base directory (containing fmp_ddr, fmp_text) @text_dirname = 'fmp_text' # text file base directory @tree_filename = 'tree.txt' # set to nil to disable tree file generation end |
Instance Attribute Details
#ddr_basedir ⇒ Object
Returns the value of attribute ddr_basedir.
4 5 6 |
# File 'lib/fmpvc/configuration.rb', line 4 def ddr_basedir @ddr_basedir end |
#ddr_dirname ⇒ Object
Returns the value of attribute ddr_dirname.
4 5 6 |
# File 'lib/fmpvc/configuration.rb', line 4 def ddr_dirname @ddr_dirname end |
#ddr_filename ⇒ Object
Returns the value of attribute ddr_filename.
4 5 6 |
# File 'lib/fmpvc/configuration.rb', line 4 def ddr_filename @ddr_filename end |
#quiet ⇒ Object
Returns the value of attribute quiet.
4 5 6 |
# File 'lib/fmpvc/configuration.rb', line 4 def quiet @quiet end |
#text_dirname ⇒ Object
Returns the value of attribute text_dirname.
4 5 6 |
# File 'lib/fmpvc/configuration.rb', line 4 def text_dirname @text_dirname end |
#tree_filename ⇒ Object
Returns the value of attribute tree_filename.
4 5 6 |
# File 'lib/fmpvc/configuration.rb', line 4 def tree_filename @tree_filename end |
#yaml ⇒ Object
Returns the value of attribute yaml.
4 5 6 |
# File 'lib/fmpvc/configuration.rb', line 4 def yaml @yaml end |