Lines Matching refs:when
52 when NilClass then @options
53 when String then @options.merge!(UnityModuleGenerator.grab_config(options))
54 when Hash then @options.merge!(options)
156 when :src then (@options[:includes][:src] || []) | (pattern_traits[:inc].map { |f| format(f, module_name) })
157 when :inc then (@options[:includes][:inc] || [])
158 when :tst then (@options[:includes][:tst] || []) | (pattern_traits[:inc].map { |f| format("#{@options[:mock_prefix]}#{f}", module_name) })
171 when 'bumpy' then part1
172 when 'camel' then part1
173 when 'snake' then part1.downcase
174 when 'caps' then part1.upcase
179 when 'bumpy' then part1 + part2
180 when 'camel' then part1 + part2
181 when 'snake' then part1.downcase + '_' + part2.downcase
182 when 'caps' then part1.upcase + '_' + part2.upcase
258 when /^-d/ then destroy = true
259 when /^-u/ then options[:update_svn] = true
260 when /^-p\"?(\w+)\"?/ then options[:pattern] = Regexp.last_match(1)
261 when /^-s\"?(.+)\"?/ then options[:path_src] = Regexp.last_match(1)
262 when /^-i\"?(.+)\"?/ then options[:path_inc] = Regexp.last_match(1)
263 when /^-t\"?(.+)\"?/ then options[:path_tst] = Regexp.last_match(1)
264 when /^-n\"?(.+)\"?/ then options[:naming] = Regexp.last_match(1)
265 when /^-y\"?(.+)\"?/ then options = UnityModuleGenerator.grab_config(Regexp.last_match(1))
266 when /^(\w+)/
269 when /^-(h|-help)/