aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/dal_character_check.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2012-10-01 15:43:19 -0400
committerRalph Amissah <ralph@amissah.com>2012-10-01 15:43:19 -0400
commit6b2c44794b8aeeca96a9b3114b87b3c1df69fd9d (patch)
tree20ffa7c21eda17b340e473733088fa80986cc0d6 /lib/sisu/v3/dal_character_check.rb
parentv3: cosmetic code, if true ; x, remove semicolons replace with "then" (diff)
v3: cosmetic code, .is_a?(X) replaces .class==X (& some defined? & nil? tests)
Diffstat (limited to 'lib/sisu/v3/dal_character_check.rb')
-rw-r--r--lib/sisu/v3/dal_character_check.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v3/dal_character_check.rb b/lib/sisu/v3/dal_character_check.rb
index df14e1aa..f20d4106 100644
--- a/lib/sisu/v3/dal_character_check.rb
+++ b/lib/sisu/v3/dal_character_check.rb
@@ -93,7 +93,7 @@ module SiSU_DAL_CharacterCheck
end
end
end
- @tuned_file << dob unless dob.nil?
+ @tuned_file << dob if dob.is_a?(Object)
end
@tuned_file=@tuned_file.flatten.compact
[@tuned_file,@endnote_array]