Skip to content

Commit

Permalink
Use fully-qualified EDN tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
lynaghk committed Dec 4, 2012
1 parent fdfe6fa commit 89894d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/c2po/records.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ def initialize(h={})
self.merge! h
end
def to_edn
prefix, name = self.class.name.split("::").map(&:downcase)
EDN.tagout "com.keminglabs/#{prefix}$#{name}", {}.merge(self)
_, prefix, name = self.class.name.split("::").map(&:downcase)
EDN.tagout "com.keminglabs/c2po$#{prefix}$#{name}", {}.merge(self)
end
end
end

0 comments on commit 89894d8

Please sign in to comment.