Permalink
Browse files

(minor) Ensuring key coercion includes capitalization

  • Loading branch information...
1 parent 21258e4 commit b6496251272476a2184780fcdbd5e5afbc17e51e @ELLIOTTCABLE committed Aug 3, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/launchdr/launchd.rb
View
@@ -12,11 +12,11 @@ class Launchd < PropertyList
}
def [] key
- super(key.to_s.camelcase)
+ super(key.to_s.titlecase.camelcase)
end
def []= key, value
- super(key.to_s.camelcase, value)
+ super(key.to_s.titlecase.camelcase, value)
end
# Adds the property list to `launchctl`'s indexes, and starts it (unless

0 comments on commit b649625

Please sign in to comment.