lib/xcake/generator.rb in xcake-0.9.4 vs lib/xcake/generator.rb in xcake-0.10.0
- old
+ new
@@ -1,10 +1,10 @@
module Xcake
class Generator
include Dependency
include Plugin
include Visitor
- Class.send(:include, CoreExtensions::ClassDescendants) # done with send because of old ruby versions
+ extend CoreExtensions::ClassDescendants
attr_accessor :context
def initialize(context)
self.context = context