Class: Applause::Parser

Inherits:
Object
  • Object
show all
Defined in:
lib/applause/parser.rb

Instance Method Summary collapse

Instance Method Details

#parse(args, flags) ⇒ Object



3
4
5
6
7
# File 'lib/applause/parser.rb', line 3

def parse(args, flags)
  args.slice_before do |n|
    flags.include? n
  end
end