class CCEngine::Position::Offset
Attributes
offset[R]
Public Class Methods
new(offset:)
click to toggle source
# File lib/cc_engine/position/offset.rb, line 4 def initialize(offset:) @offset = offset end
Public Instance Methods
to_hash()
click to toggle source
# File lib/cc_engine/position/offset.rb, line 8 def to_hash { offset: offset } end