unify section_half left and right and use option to get both

This commit is contained in:
2022-12-04 18:37:11 +02:00
parent 77a7917869
commit d30ce30370
11 changed files with 26 additions and 38 deletions

View File

@ -32,9 +32,9 @@ module Merged
option_defs = []
@content["options"].each do |name|
option = Style.options[name]
raise "no option for #{name}:name.class" if option.blank?
raise "no option for #{name}:#{name.class}" if option.blank?
option_defs << option
end
end if @content["options"]
option_defs
end