Sha256: 8291ddb48eac568b941c5c4d83d0dce43c884ef5af911bce4aa4c26e8d1854bf

Contents?: true

Size: 513 Bytes

Versions: 52

Compression:

Stored size: 513 Bytes

Contents

class TestLab

  # Dependency Error Class
  class DependencyError < TestLabError; end

  # Dependency Class
  #
  # @author Zachary Patten <zachary AT jovelabs DOT com>
  class Dependency < ZTK::DSL::Base
    # Associations and Attributes
    belongs_to :labfile,       :class_name => 'TestLab::Labfile'

    def initialize(*args)
      @ui = TestLab.ui

      @ui.logger.info { "Loading Dependency '#{self.id}'" }
      super(*args)
      @ui.logger.info { "Dependency '#{self.id}' Loaded" }
    end

  end

end

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
testlab-1.8.2 lib/testlab/dependency.rb
testlab-1.8.1 lib/testlab/dependency.rb
testlab-1.8.0 lib/testlab/dependency.rb
testlab-1.7.1 lib/testlab/dependency.rb
testlab-1.7.0 lib/testlab/dependency.rb
testlab-1.6.6 lib/testlab/dependency.rb
testlab-1.6.5 lib/testlab/dependency.rb
testlab-1.6.4 lib/testlab/dependency.rb
testlab-1.6.3 lib/testlab/dependency.rb
testlab-1.6.2 lib/testlab/dependency.rb
testlab-1.6.1 lib/testlab/dependency.rb
testlab-1.6.0 lib/testlab/dependency.rb