Browse files

Make it a one-liner

  • Loading branch information...
1 parent be52a98 commit dcabc8b245085d5b7bb073feadc110413016a7ea @dchelimsky committed Aug 22, 2011
Showing with 1 addition and 3 deletions.
  1. +1 −3 generators/rspec/templates/rspec.rake
View
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

0 comments on commit dcabc8b

Please sign in to comment.