lib/attentive/phrase.rb in attentive-0.2.0 vs lib/attentive/phrase.rb in attentive-0.3.0
- old
+ new
@@ -10,10 +10,14 @@
def to_s
join
end
def inspect
- "\"#{to_s}\""
+ map(&:inspect).join("\n")
+ end
+
+ def dup
+ self.class.new map(&:dup)
end
end
end