Class: Jade::Frontend::ForwardDeclaration::Result
- Inherits:
-
Data
- Object
- Data
- Jade::Frontend::ForwardDeclaration::Result
- Defined in:
- lib/jade/frontend/forward_declaration.rb
Instance Attribute Summary collapse
-
#entry ⇒ Object
readonly
Returns the value of attribute entry.
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
Instance Attribute Details
#entry ⇒ Object (readonly)
Returns the value of attribute entry
22 23 24 |
# File 'lib/jade/frontend/forward_declaration.rb', line 22 def entry @entry end |
#errors ⇒ Object (readonly)
Returns the value of attribute errors
22 23 24 |
# File 'lib/jade/frontend/forward_declaration.rb', line 22 def errors @errors end |
Instance Method Details
#add_errors(new_errors) ⇒ Object
23 24 25 |
# File 'lib/jade/frontend/forward_declaration.rb', line 23 def add_errors(new_errors) with(errors: errors + new_errors) end |