samples/twitter_timeline.rb in args_parser-0.0.7 vs samples/twitter_timeline.rb in args_parser-0.0.8

- old
+ new

@@ -13,10 +13,10 @@ arg :favorite, 'show favorites', :alias => :fav arg :retweet, 'show retweets', :alias => :rt arg :help, 'show help', :alias => :h filter :user do |v| - v.strip + v.to_s.strip end validate :user, "invalid twitter screen_name" do |v| v =~ /^[a-zA-Z0-9_]+$/ end