Class: Clacky::Utils::FileProcessor::FileRef
- Inherits:
-
Struct
- Object
- Struct
- Clacky::Utils::FileProcessor::FileRef
- Defined in:
- lib/clacky/utils/file_processor.rb
Overview
FileRef: result of process / process_path.
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#original_path ⇒ Object
Returns the value of attribute original_path.
-
#parse_error ⇒ Object
Returns the value of attribute parse_error.
-
#parser_path ⇒ Object
Returns the value of attribute parser_path.
-
#preview_path ⇒ Object
Returns the value of attribute preview_path.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
75 76 77 |
# File 'lib/clacky/utils/file_processor.rb', line 75 def name @name end |
#original_path ⇒ Object
Returns the value of attribute original_path
75 76 77 |
# File 'lib/clacky/utils/file_processor.rb', line 75 def original_path @original_path end |
#parse_error ⇒ Object
Returns the value of attribute parse_error
75 76 77 |
# File 'lib/clacky/utils/file_processor.rb', line 75 def parse_error @parse_error end |
#parser_path ⇒ Object
Returns the value of attribute parser_path
75 76 77 |
# File 'lib/clacky/utils/file_processor.rb', line 75 def parser_path @parser_path end |
#preview_path ⇒ Object
Returns the value of attribute preview_path
75 76 77 |
# File 'lib/clacky/utils/file_processor.rb', line 75 def preview_path @preview_path end |
#type ⇒ Object
Returns the value of attribute type
75 76 77 |
# File 'lib/clacky/utils/file_processor.rb', line 75 def type @type end |
Instance Method Details
#parse_failed? ⇒ Boolean
76 77 78 |
# File 'lib/clacky/utils/file_processor.rb', line 76 def parse_failed? preview_path.nil? && !parse_error.nil? end |