lib/csl/info.rb in csl-1.0.2 vs lib/csl/info.rb in csl-1.1.0
- old
+ new
@@ -84,12 +84,13 @@
end
end
end
# Ruby 1.8 still has Object#id methods so the attr_children generator
- # has not created those; since #id is deprecated in 1.8.7 we're
+ # may not have created those; since #id is deprecated in 1.8.7 we're
# forcing the override anyway. Live dangerously!
+ remove_method :id
# @return [Id] the id text node
def id
children[:id]
end
@@ -278,6 +279,6 @@
end
end
-end
\ No newline at end of file
+end