Agreed, not the best way to handle errors but the only way I could get it to run, it could be an issue with Ruby 2.0

I will remove the change, push it to git.

Gary

On Jun 27, 2013, at 10:47 AM, Kelley Reynolds <notifications@github.com> wrote:

> In lib/mios/device.rb:
> 
> > @@ -67,10 +67,13 @@ def parse(data, skip_attributes=false)
> >        @states.map { |state|
> >          state['service'].split(":").last
> >        }.uniq.each { |service|
> > -        if MiOS::Services.const_defined?(service)
> You should undo this change and resubmit ... it's not a good way of handling the error. Whatever the error is, it should be handled/fixed instead of ignored.
> 
> —
> Reply to this email directly or view it on GitHub.
>