# File lib/text/format.rb, line 897 897: def expand(to_expand = nil) 898: to_expand = @text if to_expand.nil? 899: if to_expand.class == Array 900: to_expand.collect { |te| __expand(te) } 901: else 902: __expand(to_expand) 903: end 904: end