class Lookbook::Component

def initialize(component_class)

def initialize(component_class)
  @component_class = component_class
  @file_path = "#{Engine.component_paths.first}/#{name.underscore}.rb"
  @base_directories = Engine.component_paths
  @lookup_path = PathUtils.to_lookup_path(relative_file_path)
end

def inline?

def inline?
  template_file_path.present?
end

def name

def name
  component_class.name
end

def template_file_path

def template_file_path
  Dir.glob("#{directory_path}/#{file_name(true)}.*.erb").first
end

def template_path

def template_path
  Lookbook.logger.warn "The `template_path` method has been deprecated - use `template_file_path` instead. `template_file_path` will be removed in v2.0"
  template_file_path
end