Class: Audition::Static::GemCalls::Rule
- Inherits:
-
Data
- Object
- Data
- Audition::Static::GemCalls::Rule
- Defined in:
- lib/audition/static/gem_calls.rb
Overview
One flagged gem: verified means its installed extension binary was read and lacks the declaration; unverified means the lockfile proves compiled code exists but no binary was available to read. A bound rule's namespace IS the extension's own class or module—the gem namespace, a constant assigned an extension-rooted value, or a subclass of either—so reopening it defines methods on extension instances; an unbound rule marks app code that merely holds extension values.
Instance Attribute Summary collapse
-
#bound ⇒ Object
readonly
Returns the value of attribute bound.
-
#gem ⇒ Object
readonly
Returns the value of attribute gem.
-
#namespace ⇒ Object
readonly
Returns the value of attribute namespace.
-
#verified ⇒ Object
readonly
Returns the value of attribute verified.
Instance Method Summary collapse
-
#initialize(gem:, namespace:, verified:, bound: false) ⇒ Rule
constructor
A new instance of Rule.
Constructor Details
#initialize(gem:, namespace:, verified:, bound: false) ⇒ Rule
Returns a new instance of Rule.
146 147 148 |
# File 'lib/audition/static/gem_calls.rb', line 146 def initialize(gem:, namespace:, verified:, bound: false) super end |
Instance Attribute Details
#bound ⇒ Object (readonly)
Returns the value of attribute bound
145 146 147 |
# File 'lib/audition/static/gem_calls.rb', line 145 def bound @bound end |
#gem ⇒ Object (readonly)
Returns the value of attribute gem
145 146 147 |
# File 'lib/audition/static/gem_calls.rb', line 145 def gem @gem end |
#namespace ⇒ Object (readonly)
Returns the value of attribute namespace
145 146 147 |
# File 'lib/audition/static/gem_calls.rb', line 145 def namespace @namespace end |
#verified ⇒ Object (readonly)
Returns the value of attribute verified
145 146 147 |
# File 'lib/audition/static/gem_calls.rb', line 145 def verified @verified end |