lib/structure/double.rb in structure-1.2.0 vs lib/structure/double.rb in structure-1.2.1
- old
+ new
@@ -22,10 +22,10 @@
end
end
attribute_names.each do |name|
module_eval <<-CODE, __FILE__, __LINE__ + 1
- private def __#{name}
+ private def __get_#{name}
@#{name}
end
CODE
end