Skip to content
Browse files

Added documentation for the new property parameter

  • Loading branch information...
1 parent 0e283f8 commit adecabc80c625c9473613f69ec4c83729336bb05 Ken Robertson committed Apr 10, 2008
Showing with 5 additions and 1 deletion.
  1. +5 −1 lib/data_mapper/type.rb
View
6 lib/data_mapper/type.rb
@@ -123,21 +123,25 @@ def options
# ==== Parameters
# value<Object, nil>::
# The value to dump
+ # property<Property, nil>::
+ # The property the type is being used by
#
# ==== Returns
# Object:: Dumped object
#
#
# @public
def self.dump(value, property)
- value
+ value
end
# Stub instance method for loading
#
# ==== Parameters
# value<Object, nil>::
# The value to serialize
+ # property<Property, nil>::
+ # The property the type is being used by
#
# ==== Returns
# Object:: Serialized object. Must be the same type as the ruby primitive

0 comments on commit adecabc

Please sign in to comment.
Something went wrong with that request. Please try again.