Class: Ecrire::Commands::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/ecrire/commands/base.rb

Direct Known Subclasses

Console, New, Server

Instance Method Summary collapse

Instance Method Details

#shift_argv!Object



4
5
6
# File 'lib/ecrire/commands/base.rb', line 4

def shift_argv!
  ARGV.shift if ARGV.first && ARGV.first[0] != '-'
end