Skip to content

help.rb line_contract misnamed #72

Description

@davebytemfg

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions