Skip to content
Browse files

- remove old flags helper, won't need it soon.

  • Loading branch information...
1 parent e9aff93 commit 995a95a631b1bfb62ca2dd3ff3e34695f703c977 @jordansissel committed Mar 2, 2012
Showing with 0 additions and 20 deletions.
  1. +0 −20 lib/fpm/flags.rb
View
20 lib/fpm/flags.rb
@@ -1,20 +0,0 @@
-require "fpm/namespace"
-
-class FPM::Flags
- def initialize(opts, flag_prefix, help_prefix)
- @opts = opts
- @flag_prefix = flag_prefix
- @help_prefix = help_prefix
- end # def initialize
-
- def on(*args, &block)
- fixed_args = args.collect do |arg|
- if arg =~ /^--/
- "--#{@flag_prefix}-#{arg.gsub(/^--/, "")}"
- else
- "(#{@help_prefix}) #{arg}"
- end
- end
- @opts.on(*fixed_args, &block)
- end # def on
-end # class FPM::Flags

0 comments on commit 995a95a

Please sign in to comment.
Something went wrong with that request. Please try again.