Class: Nrb::Commands::Inside
- Defined in:
- lib/nrb/commands/base/inside.rb
Overview
This class fires a task that checks if the following command is done inside the root of the project.
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#ensure_inside_root ⇒ Object
6 7 8 9 |
# File 'lib/nrb/commands/base/inside.rb', line 6 def ensure_inside_root return true if Nrb.inside? fail_outside_root end |