Method: Jets::CLI#namespace
- Defined in:
- lib/jets/cli.rb
#namespace ⇒ Object
154 155 156 157 158 159 160 161 162 |
# File 'lib/jets/cli.rb', line 154 def namespace return nil unless full_command if full_command.include?(':') words = full_command.split(':') words.pop words.join(':') end end |