Class: CaseCheck::Cfmodule::Template

Inherits:
CaseCheck::Cfmodule show all
Defined in:
lib/case_check/references/cfmodule.rb

Instance Attribute Summary

Attributes inherited from CaseCheck::Cfmodule

#expected_path, #resolved_to

Attributes inherited from Reference

#line, #source, #text

Instance Method Summary collapse

Methods inherited from CaseCheck::Cfmodule

search

Methods inherited from Reference

#message, #resolution, #substituted_text, substitutions

Constructor Details

#initialize(source, text, line) ⇒ Template

Returns a new instance of Template.



36
37
38
39
40
# File 'lib/case_check/references/cfmodule.rb', line 36

def initialize(source, text, line)
  super
  @expected_path = substituted_text
  @resolved_to = resolve_in(File.dirname(source.filename))
end

Instance Method Details

#type_nameObject



42
43
44
# File 'lib/case_check/references/cfmodule.rb', line 42

def type_name
  "cfmodule with template"
end