vendor/bundle/ruby/1.8/gems/aws-2.5.6/lib/awsbase/parsers.rb
# Parser must have a lots of methods
# (see /usr/lib/ruby/1.8/rexml/parsers/streamparser.rb)
# We dont need most of them in AwsParser and method_missing helps us
# to skip their definition
Parser must have a lots of methods

We dont need most of them in AwsParser and method_missing helps us
to skip their definition
Parser must have a lots of methods We dont need most of them in AwsParser and method_missing helps us to skip their definition
def method_missing(method, *params)
      return if [:comment, :attlistdecl, :notationdecl, :elementdecl,
                 :entitydecl, :cdata, :xmldecl, :attlistdecl, :instruction,
                 :doctype].include?(method)
      super(method, params)
    end
def method_missing ( method , * params ) return if [ :comment , :attlistdecl , :notationdecl , :elementdecl , :entitydecl , :cdata , :xmldecl , :attlistdecl , :instruction , :doctype ] . include? ( method ) super ( method , params ) end
Parser must have a lots of methods
(see /usr/lib/ruby/1.8/rexml/parsers/streamparser.rb)
We dont need most of them in AwsParser and method_missing helps us
to skip their definition
Parser must have a lots of methods ( see / usr / lib / ruby / 1 . 8 / rexml / parsers / streamparser . rb ) We dont need most of them in AwsParser and method_missing helps us to skip their definition
# if the method is one of known - just skip it ... # ... else - call super to raise an exception
method
params