summaryrefslogtreecommitdiff
path: root/lib/rss/taxonomy.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rss/taxonomy.rb')
-rw-r--r--lib/rss/taxonomy.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rss/taxonomy.rb b/lib/rss/taxonomy.rb
index 5226713..93eeac7 100644
--- a/lib/rss/taxonomy.rb
+++ b/lib/rss/taxonomy.rb
@@ -81,7 +81,7 @@ module RSS
target.taxo_topics
end
- def to_s(need_convert=true, indent=calc_indent)
+ def to_s(need_convert=true, indent='')
rv = tag(indent) do |next_indent|
[
Bag_element(need_convert, next_indent),
@@ -164,7 +164,7 @@ module RSS
tag_name_with_prefix(TAXO_PREFIX)
end
- def to_s(need_convert=true, indent=calc_indent)
+ def to_s(need_convert=true, indent='')
rv = tag(indent) do |next_indent|
[
other_element(need_convert, next_indent),