lib/csl/style/names.rb in csl-1.0.0.pre21 vs lib/csl/style/names.rb in csl-1.0.0.pre22
- old
+ new
@@ -14,15 +14,19 @@
children[:label] = []
yield self if block_given?
end
+ def delimiter
+ attributes.fetch(:delimiter, '')
+ end
+
def has_variable?
attribute?(:variable)
end
def variable
- attributes[:variable]
+ attributes[:variable].to_s
end
end
\ No newline at end of file