Sha256: 25ff39ab688eb0dbcef02cb010b7492475fe678de13bbd3b7f1f3d02c515af94
Contents?: true
Size: 229 Bytes
Versions: 2
Compression:
Stored size: 229 Bytes
Contents
module Straightedge::Aspects module Positional extend Forwardable # consider the entity as a vector in 2-space def to_point Straightedge::Mark.new(*self) end def_delegators :to_point, :x, :y end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
straightedge-0.1.2 | lib/straightedge/aspects/positional.rb |
straightedge-0.1.1 | lib/straightedge/aspects/positional.rb |