# File lib/markaby/cssproxy.rb, line 18
18:     def method_missing(id_or_class, *args, &blk)
19:       idc = id_or_class.to_s
20:       case idc
21:       when /!$/
22:         @opts[:id] = $`
23:       else 
24:         @opts[:class] = "#{@opts[:class]} #{idc}".strip
25:       end
26:       if args.empty? and blk.nil?
27:         self
28:       else
29:         if args.last.respond_to? :to_hash
30:           @opts.merge!(args.pop.to_hash)
31:         end
32:         args.push @opts
33:         @blk.call(args, blk)
34:       end
35:     end