lib/launchd/service.rb
# Returns hash of properties with CamelCase-keys.
Returns hash of properties with CamelCase-keys.
Returns hash of properties with CamelCase - keys .
def properties
      options.inject({}) do |memo, (k,v)|
        camel_cased_key = k.to_s.split('_').map(&:capitalize).join
        memo[camel_cased_key] = v
        memo
      end
    end
def properties options . inject ( { } ) do | memo , ( k , v ) | camel_cased_key = k . to_s . split ( '_' ) . map ( & :capitalize ) . join memo [ camel_cased_key ] = v memo end end
Returns hash of properties with CamelCase-keys.
Returns hash of properties with CamelCase - keys .