lib/csl/style/label.rb in csl-1.0.0.pre15 vs lib/csl/style/label.rb in csl-1.0.0.pre16
- old
+ new
@@ -70,11 +70,12 @@
def names_label?
parent.is_a?(Names)
end
alias name_label? names_label?
+ # @return [String] the term name for the label's variable
def term
- Label.terms[variable]
+ Label.terms[variable.to_s]
end
end
end
end
\ No newline at end of file