class Mustache::Generator

Public Instance Methods

on_fetch(names) click to toggle source
# File lib/www_app/TO.rb, line 39
def on_fetch(names)
  if names.length == 2
    "ctx[#{names.first.to_sym.inspect}, #{names.last.to_sym.inspect}]"
  else
    w_syms_on_fetch(names)
  end
end
Also aliased as: w_syms_on_fetch
w_syms_on_fetch(names)
Alias for: on_fetch