Method: Helper.type_of_value

Defined in:
lib/helper.rb

.type_of_value(value) ⇒ Object

Rubyの変数がなんの型かシンボルで取得



244
245
246
# File 'lib/helper.rb', line 244

def type_of_value(value)
  TYPE_OF_VALUE[value.class]
end