Class: Timewizard::Versioner::Worklight

Inherits:
Base
  • Object
show all
Defined in:
lib/timewizard/versioner/worklight.rb

Overview

Represents the Worklight implementation of the versioner spec.

Author:

  • Richard Harrah

Since:

  • 0.1.0

Instance Attribute Summary

Attributes inherited from Base

#bumped_build_number, #bumped_version_number, #file, #new_build_number, #new_version_number, #old_build_number, #old_version_number

Instance Method Summary collapse

Methods inherited from Base

#read_build_numbers, #read_version_numbers, #write_build_numbers, #write_version_numbers

Constructor Details

#initialize(path_to_file) ⇒ Worklight

Returns a new instance of Worklight.

Since:

  • 0.1.0



16
17
18
19
# File 'lib/timewizard/versioner/worklight.rb', line 16

def initialize(path_to_file)
  super path_to_file
  @file_contents = ''
end