Class: Torque::RecordPathnameSettings
- Inherits:
-
Object
- Object
- Torque::RecordPathnameSettings
- Defined in:
- lib/torque/record_pathname_settings.rb
Overview
Generates the pathname to use for the record file of the release notes
Instance Method Summary collapse
-
#get_path ⇒ Object
The path to the record file, generating one if it does not exist.
-
#initialize(output_dir, project, custom, iterations, fs) ⇒ RecordPathnameSettings
constructor
A new instance of RecordPathnameSettings.
Constructor Details
#initialize(output_dir, project, custom, iterations, fs) ⇒ RecordPathnameSettings
Returns a new instance of RecordPathnameSettings.
14 15 16 17 18 19 20 |
# File 'lib/torque/record_pathname_settings.rb', line 14 def initialize(output_dir, project, custom, iterations, fs) @output_dir = output_dir @project = project @custom = custom @iterations = iterations @fs = fs end |
Instance Method Details
#get_path ⇒ Object
Returns The path to the record file, generating one if it does not exist.
24 25 26 27 |
# File 'lib/torque/record_pathname_settings.rb', line 24 def get_path generate_record_path if !@path @path end |