Exception: LegacyDSLError
Instance Attribute Summary collapse
- #attr ⇒ Symbol readonly private
Instance Method Summary collapse
- #initialize(attr, value) ⇒ void constructor private
Constructor Details
#initialize(attr, value) ⇒ void
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
103 104 105 106 |
# File 'exceptions.rb', line 103 def initialize(attr, value) @attr = attr super "A legacy DSL was used: #{attr} (#{value.inspect})" end |
Instance Attribute Details
#attr ⇒ Symbol (readonly)
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
100 101 102 |
# File 'exceptions.rb', line 100 def attr @attr end |