Sha256: 7273775ee9933b40250f5e77b0249dfb9ce6b5e7991e6eae06774355bba8657a

Contents?: true

Size: 847 Bytes

Versions: 2

Compression:

Stored size: 847 Bytes

Contents

# =========================================================================
#   Ceedling - Test-Centered Build System for C
#   ThrowTheSwitch.org
#   Copyright (c) 2010-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
#   SPDX-License-Identifier: MIT
# =========================================================================

class Plugin
  attr_reader :name, :environment
  attr_accessor :plugin_objects

  def initialize(system_objects, name, root_path)
    @environment = []
    @ceedling = system_objects
    @plugin_root_path = root_path
    @name = name
    self.setup
  end

  # Override to prevent exception handling from walking & stringifying the object variables.
  # Plugin's object variables are gigantic and produce a flood of output.
  def inspect
    return this.class.name
  end

  def setup; end
  
  def summary; end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ceedling-1.0.1 lib/ceedling/plugin.rb
ceedling-1.0.0 lib/ceedling/plugin.rb