Class: FMPVC::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/fmpvc/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_basedirObject

Returns the value of attribute ddr_basedir.



4
5
6
# File 'lib/fmpvc/configuration.rb', line 4

def ddr_basedir
  @ddr_basedir
end

#ddr_dirnameObject

Returns the value of attribute ddr_dirname.



4
5
6
# File 'lib/fmpvc/configuration.rb', line 4

def ddr_dirname
  @ddr_dirname
end

#ddr_filenameObject

Returns the value of attribute ddr_filename.



4
5
6
# File 'lib/fmpvc/configuration.rb', line 4

def ddr_filename
  @ddr_filename
end

#quietObject

Returns the value of attribute quiet.



4
5
6
# File 'lib/fmpvc/configuration.rb', line 4

def quiet
  @quiet
end

#text_dirnameObject

Returns the value of attribute text_dirname.



4
5
6
# File 'lib/fmpvc/configuration.rb', line 4

def text_dirname
  @text_dirname
end

#tree_filenameObject

Returns the value of attribute tree_filename.



4
5
6
# File 'lib/fmpvc/configuration.rb', line 4

def tree_filename
  @tree_filename
end

#yamlObject

Returns the value of attribute yaml.



4
5
6
# File 'lib/fmpvc/configuration.rb', line 4

def yaml
  @yaml
end