# File lib/ramaze/view/mustache.rb, line 30 def self.class_defined?(action) return RamazeContext.new(nil), nil, nil unless action.view path = File.dirname(action.view) klass = if FileTest.exist?(File.join(path, "#{action.name}.rb")) require File.join(path, action.name) ::Object.const_get(::Mustache.classify(action.name)) # or eval? else ::Mustache end return RamazeContext.new(klass.new), path, View.exts_of(self).first end