From c7851266b6f9c54f7a0c8165105577dfd5915d24 Mon Sep 17 00:00:00 2001 From: Tom Black Date: Wed, 22 Feb 2017 01:51:53 -0500 Subject: `extend` rather than `include` the DSL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit So that DSL methods aren’t added to every `Object` --- test/dsl_spec.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/dsl_spec.rb b/test/dsl_spec.rb index 6d3d8b4..522b29e 100644 --- a/test/dsl_spec.rb +++ b/test/dsl_spec.rb @@ -1,4 +1,5 @@ require 'ruby2d' +include Ruby2D::DSL RSpec.describe Ruby2D::DSL do -- cgit v1.2.3