lib/motion/project/command.rb
def inherited(klass)
        warn "[!] Inheriting from `Motion::Project::Command' has been " \
             "deprecated, inherit from `Motion::Command' instead. " \
             "(Called from: #{caller.first})"
        super
      end
# This is lifted straight from CLAide, but adjusted slightly because
# the Class#name method is overridden in the old (deprecated) API below.
This is lifted straight from CLAide, but adjusted slightly because
the Class#name method is overridden in the old (deprecated) API below.
This is lifted straight from CLAide but adjusted slightly because the Class#name method is overridden in the old ( deprecated ) API below .
def inherited(klass)
        warn "[!] Inheriting from `Motion::Project::Command' has been " \
             "deprecated, inherit from `Motion::Command' instead. " \
             "(Called from: #{caller.first})"
        super
      end
def inherited ( klass ) warn "[!] Inheriting from `Motion::Project::Command' has been " "deprecated, inherit from `Motion::Command' instead. " "(Called from: #{caller.first})" super end
This is lifted straight from CLAide, but adjusted slightly because
the Class#name method is overridden in the old (deprecated) API below.
This is lifted straight from CLAide but adjusted slightly because the Class#name method is overridden in the old ( deprecated ) API below .
klass