-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from scarpe-team/update_for_recent_scarpe
Update for recent Scarpe changes
- Loading branch information
Showing
42 changed files
with
516 additions
and
1,498 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# frozen_string_literal: true | ||
|
||
module Scarpe::Wasm | ||
class Arc < Drawable | ||
def element(&block) | ||
render("arc") | ||
end | ||
end | ||
|
||
class Arrow < Drawable | ||
def element(&block) | ||
render("arrow") | ||
end | ||
end | ||
|
||
class Line < Drawable | ||
def element(&block) | ||
render("line") | ||
end | ||
end | ||
|
||
class Rect < Drawable | ||
def element(&block) | ||
render("rect") | ||
end | ||
end | ||
|
||
class Star < Drawable | ||
def element(&block) | ||
render("star", &block) | ||
end | ||
end | ||
end |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.