Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[Class, ..]のほうがやっぱりしっくりくる

  • Loading branch information...
commit 0403662296a9d9a170aefebd0a5a3564e524c64b 1 parent b2d9dbb
@tsuyoshikawa tsuyoshikawa authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  sample2/present.rb
View
2  sample2/present.rb
@@ -1,4 +1,4 @@
-%w[Object Numeric NilClass TrueClass FalseClass String].each do |klass|
+[Object, Numeric, NilClass, TrueClass, FalseClass, String].each do |klass|
klass.class_eval do
def present?
not blank?
Please sign in to comment.
Something went wrong with that request. Please try again.