lib/rake-commander/rake_context/wrapper.rb in rake-commander-0.1.4 vs lib/rake-commander/rake_context/wrapper.rb in rake-commander-0.2.0
- old
+ new
@@ -1,7 +1,9 @@
class RakeCommander
module RakeContext
class Wrapper
+ include Rake::DSL
+
# Allows to interact with rake
# @note this prevents subclass overlap methods to be used
def context(object = global_instance, &block)
raise ArgumentError, "Block required" unless block_given?
object.instance_eval(&block)