Class: CaseCheck::Cfmodule::Template
- Inherits:
-
CaseCheck::Cfmodule
- Object
- Struct
- Reference
- CaseCheck::Cfmodule
- CaseCheck::Cfmodule::Template
- Defined in:
- lib/case_check/references/cfmodule.rb
Instance Attribute Summary
Attributes inherited from CaseCheck::Cfmodule
Attributes inherited from Reference
Instance Method Summary collapse
-
#initialize(source, text, line) ⇒ Template
constructor
A new instance of Template.
- #type_name ⇒ Object
Methods inherited from CaseCheck::Cfmodule
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_name ⇒ Object
42 43 44 |
# File 'lib/case_check/references/cfmodule.rb', line 42 def type_name "cfmodule with template" end |