Lines Matching refs:when
55 when NilClass then @options
56 when String then @options.merge!(UnityModuleGenerator.grab_config(options))
57 when Hash then @options.merge!(options)
161 when :src then (@options[:includes][:src] || []) | (pattern_traits[:inc].map { |f| format(f, module_name) })
162 when :inc then (@options[:includes][:inc] || [])
163 when :tst then (@options[:includes][:tst] || []) | (pattern_traits[:inc].map { |f| format("#{@options[:mock_prefix]}#{f}", module_name) })
185 when 'bumpy' then neutralize_filename(name, start_cap: false).delete('_')
186 when 'camel' then neutralize_filename(name).delete('_')
187 when 'snake' then neutralize_filename(name).downcase
188 when 'caps' then neutralize_filename(name).upcase
265 when /^-d/ then destroy = true
266 when /^-u/ then options[:update_svn] = true
267 when /^-p"?(\w+)"?/ then options[:pattern] = Regexp.last_match(1)
268 when /^-s"?(.+)"?/ then options[:path_src] = Regexp.last_match(1)
269 when /^-i"?(.+)"?/ then options[:path_inc] = Regexp.last_match(1)
270 when /^-t"?(.+)"?/ then options[:path_tst] = Regexp.last_match(1)
271 when /^-n"?(.+)"?/ then options[:naming] = Regexp.last_match(1)
272 when /^-y"?(.+)"?/ then options = UnityModuleGenerator.grab_config(Regexp.last_match(1))
273 when /^(\w+)/
277 when /^-(h|-help)/