unify section_half left and right and use option to get both
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user