Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

help.rb line_contract misnamed #72

Open
davebytemfg opened this issue Apr 23, 2021 · 0 comments
Open

help.rb line_contract misnamed #72

davebytemfg opened this issue Apr 23, 2021 · 0 comments

Comments

@davebytemfg
Copy link

Without looking at what this is used for, I'm guessing this change is more correct.
Because there's already a label_contract that looks correct.

diff --git a/dragon/help.rb b/dragon/help.rb
index aee60d8..f2cd577 100644
--- a/dragon/help.rb
+++ b/dragon/help.rb
@@ -45,7 +45,7 @@ S
 S
     end
 
-    def self.label_contract
+    def self.line_contract
       <<-S
 * :line (if :primitive_marker returns :line)
 ** :x, :y, :x2, :y2, :r, :g, :b, :a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant