aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/plaintext_format.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v3/plaintext_format.rb')
-rw-r--r--lib/sisu/v3/plaintext_format.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v3/plaintext_format.rb b/lib/sisu/v3/plaintext_format.rb
index 445d8c66..fe24112d 100644
--- a/lib/sisu/v3/plaintext_format.rb
+++ b/lib/sisu/v3/plaintext_format.rb
@@ -76,7 +76,7 @@ module SiSU_PlaintextFormat
class FormatTextObject
def initialize(md,t_o)
@md,@t_o=md,t_o
- if t_o.class==Hash
+ if t_o.is_a?(Hash)
@txt =t_o[:txt] || nil
@lnk_url =t_o[:lnk_url] || nil
@lnk_txt =t_o[:lnk_txt] || nil