Class: Plugin
Overview
Ceedling - Test-Centered Build System for C
ThrowTheSwitch.org
Copyright (c) 2010-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
Instance Attribute Summary collapse
-
#environment ⇒ Object
readonly
Returns the value of attribute environment.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#plugin_objects ⇒ Object
Returns the value of attribute plugin_objects.
Instance Method Summary collapse
-
#initialize(system_objects, name, root_path) ⇒ Plugin
constructor
A new instance of Plugin.
-
#inspect ⇒ Object
Override to prevent exception handling from walking & stringifying the object variables.
- #setup ⇒ Object
- #summary ⇒ Object
Constructor Details
#initialize(system_objects, name, root_path) ⇒ Plugin
Returns a new instance of Plugin.
12 13 14 15 16 17 18 |
# File 'lib/ceedling/plugin.rb', line 12 def initialize(system_objects, name, root_path) @environment = [] @ceedling = system_objects @plugin_root_path = root_path @name = name self.setup end |
Instance Attribute Details
#environment ⇒ Object (readonly)
Returns the value of attribute environment.
9 10 11 |
# File 'lib/ceedling/plugin.rb', line 9 def environment @environment end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
9 10 11 |
# File 'lib/ceedling/plugin.rb', line 9 def name @name end |
#plugin_objects ⇒ Object
Returns the value of attribute plugin_objects.
10 11 12 |
# File 'lib/ceedling/plugin.rb', line 10 def plugin_objects @plugin_objects end |
Instance Method Details
#inspect ⇒ Object
Override to prevent exception handling from walking & stringifying the object variables. Plugin’s object variables are gigantic and produce a flood of output.
22 23 24 |
# File 'lib/ceedling/plugin.rb', line 22 def inspect return this.class.name end |
#setup ⇒ Object
26 |
# File 'lib/ceedling/plugin.rb', line 26 def setup; end |
#summary ⇒ Object
28 |
# File 'lib/ceedling/plugin.rb', line 28 def summary; end |