# File lib/randexp/parser.rb, line 50 def self.balanced?(*args) args.all? {|s| s.count('(') == s.count(')')} end