lib/rouge/util.rb in rouge-2.1.0 vs lib/rouge/util.rb in rouge-2.1.1
- old
+ new
@@ -5,13 +5,13 @@
def initialize(parent=nil)
@parent = parent
end
def [](k)
- _sup = super
- return _sup if own_keys.include?(k)
+ value = super
+ return value if own_keys.include?(k)
- _sup || parent[k]
+ value || parent[k]
end
def parent
@parent ||= {}
end