Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make it a one-liner

  • Loading branch information...
commit dcabc8b245085d5b7bb073feadc110413016a7ea 1 parent be52a98
David Chelimsky authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 generators/rspec/templates/rspec.rake
4 generators/rspec/templates/rspec.rake
@@ -24,9 +24,7 @@ rescue MissingSourceFile
module Spec
module Rake
class SpecTask
- if defined?(::Rake::DSL)
- include ::Rake::DSL
- end
+ include ::Rake::DSL if defined?(::Rake::DSL)
def initialize(name)
task name do
Please sign in to comment.
Something went wrong with that request. Please try again.