# File lib/money/currency.rb, line 252 def wrap(object) if object.nil? nil elsif object.is_a?(Currency) object else Currency.new(object) end end