Checking if alias has dash in the name

fix #64

cc/ @cphrmky
Thanks!


On Tue, Aug 5, 2014 at 4:07 PM, Paulo Henrique Lopes Ribeiro <
notifications@github.com> wrote:

> In lib/fog/core/model.rb:
>
> > @@ -77,5 +77,17 @@ def wait_for(timeout=Fog.timeout, interval=1, &block)
> >        end
> >      end
> >
> > +    def method_missing(method_name, *args)
> > +      if self.class.aliases.include?(method_name)
> > +        send(self.class.aliases[method_name])
> > +      else
> > +        super
> > +      end
> > +    end
> > +
> > +    def respond_to?(method_name, include_private = false)
> > +      return true if self.class.aliases.include?(method_name)
> > +      super
>
> Sure, i will create a new pull request with this change. =)
>
> --
> Reply to this email directly or view it on GitHub
> <https://github.com/fog/fog-core/pull/65/files#r15841910>.
>