lib/shirinji/resolver.rb in shirinji-0.0.5 vs lib/shirinji/resolver.rb in shirinji-0.0.6

- old
+ new

@@ -63,10 +63,10 @@ [klass, construct.parameters] end def resolve_attribute(bean, arg) - return arg unless (attr = bean.attributes[arg]) + return resolve(arg) unless (attr = bean.attributes[arg]) return attr.value if attr.value resolve(attr.reference) end