class Curly::PresenterNotFound

Attributes

path[R]

Public Class Methods

new(path) click to toggle source
# File lib/curly/presenter_not_found.rb, line 7
def initialize(path)
  @path = path
end

Public Instance Methods

message() click to toggle source
# File lib/curly/presenter_not_found.rb, line 11
def message
  "error compiling `#{path}`: could not find #{presenter_class_name}"
end

Private Instance Methods

presenter_class_name() click to toggle source
# File lib/curly/presenter_not_found.rb, line 17
def presenter_class_name
  Curly::Presenter.presenter_name_for_path(path)
end