lib/csl/style/layout.rb in csl-1.0.0.pre21 vs lib/csl/style/layout.rb in csl-1.0.0.pre22
- old
+ new
@@ -1,13 +1,13 @@
module CSL
class Style
class Layout < Node
- attr_struct *Schema.attr(:affixes, :font, :delimiter)
+ attr_struct(*Schema.attr(:affixes, :font, :delimiter))
- def delimiter
- attributes.fetch(:delimiter, '')
- end
+ def delimiter
+ attributes.fetch(:delimiter, '')
+ end
end
end
end
\ No newline at end of file