lib/undies/node.rb in undies-1.1.0 vs lib/undies/node.rb in undies-1.2.0
- old
+ new
@@ -1,12 +1,12 @@
module Undies
class Node
- attr_reader :content
+ attr_reader :___content
def initialize(content)
- @content = content
+ @___content = content
end
def start_tag
nil
end
@@ -15,11 +15,11 @@
nil
end
def to_s(pp_level=0, pp_indent=nil)
[ self.start_tag,
- self.content,
+ self.___content,
self.end_tag
].compact.collect do |item|
pretty_print(item, pp_level, pp_indent)
end.join
end
@@ -33,6 +33,6 @@
indent ? "#{' '*level*indent}#{data}\n" : data
end
end
end
-end
\ No newline at end of file
+end