lib/acfs/resource/attributes/string.rb in acfs-0.45.0 vs lib/acfs/resource/attributes/string.rb in acfs-0.46.0
- old
+ new
@@ -12,13 +12,13 @@
class String < Base
# @api public
#
# Cast given object to string.
#
- # @param [Object] obj Object to cast.
+ # @param [Object] value Object to cast.
# @return [String] Casted string.
#
- def cast_type(obj)
- obj.to_s
+ def cast_value(value)
+ value.to_s
end
end
end