Skip to content

Commit

Permalink
Reorganize Frame accessors, add offset
Browse files Browse the repository at this point in the history
Offset doesn't do anything yet, it is only exposed for later use.
  • Loading branch information
acook committed Oct 8, 2023
1 parent 471fccb commit 2a86dc4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/remedy/frame.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,11 @@ def initialize name: self.object_id
# newline character
@nl = ?\n
end
attr_accessor :name, :contents, :nl, :fill, :available_size, :size, :halign, :valign, :horigin, :vorigin, :depth, :arrangement

attr_accessor :vorigin, :horigin, :offset, :depth
attr_accessor :name, :size, :available_size
attr_accessor :nl, :fill, :halign, :valign
attr_accessor :contents, :arrangement

def to_a
compile_contents
Expand Down

0 comments on commit 2a86dc4

Please sign in to comment.