Method: VimMate::Icons#method_missing

Defined in:
lib/vim_mate/icons.rb

#method_missing(meth, *args, &block) ⇒ Object



55
56
57
58
59
60
61
62
63
# File 'lib/vim_mate/icons.rb', line 55

def method_missing(meth, *args, &block)
  if meth.to_s =~ /_overlayed_with_/
    overlay_icon(meth, *args)
  elsif meth.to_s =~ /_icon$/
    build_icon(meth)
  else
    raise NoMethodError, "method not found: #{meth}"
  end
end