aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/shared_txt.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v3/shared_txt.rb')
-rw-r--r--lib/sisu/v3/shared_txt.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v3/shared_txt.rb b/lib/sisu/v3/shared_txt.rb
index 39363fcf..228109c1 100644
--- a/lib/sisu/v3/shared_txt.rb
+++ b/lib/sisu/v3/shared_txt.rb
@@ -114,7 +114,7 @@ module SiSU_TextUtils
line_wrap
end
def array_wrap
- if @para.class==Array
+ if @para.is_a?(Array)
@arr=[]
@para.each do |line|
@arr << SiSU_TextUtils::Wrap.new(line,@n_char_max,@n_indent,@n_hang).line_wrap