Class: Avm::Issue::Undefine
- Inherits:
-
Object
- Object
- Avm::Issue::Undefine
- Defined in:
- lib/avm/issue/undefine.rb
Instance Method Summary collapse
-
#initialize(issue) ⇒ Undefine
constructor
A new instance of Undefine.
- #run ⇒ Object
Constructor Details
#initialize(issue) ⇒ Undefine
Returns a new instance of Undefine.
6 7 8 |
# File 'lib/avm/issue/undefine.rb', line 6 def initialize(issue) @issue = issue end |
Instance Method Details
#run ⇒ Object
10 11 12 13 14 15 16 17 18 |
# File 'lib/avm/issue/undefine.rb', line 10 def run msg = undefine? if msg Rails.logger.debug(msg) else Rails.logger.debug("##{@issue.id} has undefined dependencies. Undefining...") undefine end end |