Skip to content

Commit

Permalink
fix typo in method name
Browse files Browse the repository at this point in the history
  • Loading branch information
subvertallchris committed Apr 13, 2015
1 parent 00931f9 commit 64a34fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/neo4j/shared/property.rb
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def magic_typecast_properties
@magic_typecast_properties ||= {}
end

def magic_typecase_properties_keys
def magic_typecast_properties_keys
@magic_typecast_properties_keys ||= magic_typecast_properties.keys
end

Expand Down
2 changes: 1 addition & 1 deletion lib/neo4j/shared/type_converters.rb
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def primitive_type(attr)
case
when self.class.serialized_properties_keys.include?(attr)
serialized_properties[attr]
when self.class.magic_typecase_properties_keys.include?(attr)
when self.class.magic_typecast_properties_keys.include?(attr)
self.class.magic_typecast_properties[attr]
else
self.class._attribute_type(attr)
Expand Down

0 comments on commit 64a34fd

Please sign in to comment.