lib/arli/lock/formats/base.rb in arli-0.9.0 vs lib/arli/lock/formats/base.rb in arli-1.0.0

- old
+ new

@@ -5,21 +5,21 @@ module Formats class Base include Arli::Helpers::Inherited attr_assignable :extension - attr_accessor :lock_file + attr_accessor :lock_file, :arlifile def initialize(lock_file) self.lock_file = lock_file + self.arlifile = lock_file.arlifile end # Optional header def header end def format(library) - raise Arli::Errors::AbstractMethodCalled, "#format on Base" end # Optional footer def footer end