vendor/bundle/ruby/1.8/gems/io-reactor-1.0.4/rake/helpers.rb
def rspec_files
	if ENV['class']
		classname = ENV['class']
		spec_file = SPECSDIR + "#{classname}_spec.rb"
		raise "Can't find the spec file for the class '#{classname}'" unless spec_file.exist?
		return [ spec_file ]
	else
		return SPEC_FILES
	end
end
### Get a list of the file or files to run rspec on.
Get a list of the file or files to run rspec on.
Get a list of the file or files to run rspec on .
def rspec_files
	if ENV['class']
		classname = ENV['class']
		spec_file = SPECSDIR + "#{classname}_spec.rb"
		raise "Can't find the spec file for the class '#{classname}'" unless spec_file.exist?
		return [ spec_file ]
	else
		return SPEC_FILES
	end
end
def rspec_files if ENV [ 'class' ] classname = ENV [ 'class' ] spec_file = SPECSDIR + "#{classname}_spec.rb" raise "Can't find the spec file for the class '#{classname}'" unless spec_file . exist? return [ spec_file ] else return SPEC_FILES end end
Get a list of the file or files to run rspec on.
Get a list of the file or files to run rspec on .