class Rubycritic::Generator::Base
def self.erb_template(template_path)
def self.erb_template(template_path) ERB.new(File.read(File.join(TEMPLATES_DIR, template_path))) end
def file_directory
def file_directory root_directory end
def file_href
def file_href "file://#{file_pathname}" end
def file_name
def file_name raise NotImplementedError.new("The #{self.class} class must implement the #{__method__} method.") end
def file_pathname
def file_pathname File.join(file_directory, file_name) end
def get_binding
def get_binding binding end
def render
def render raise NotImplementedError.new("The #{self.class} class must implement the #{__method__} method.") end