Class: Hocon::Impl::Tokens::Problem
Instance Method Summary collapse
- #cause ⇒ Object
-
#initialize(origin, what, message, suggest_quotes, cause) ⇒ Problem
constructor
A new instance of Problem.
- #message ⇒ Object
- #suggest_quotes ⇒ Object
- #what ⇒ Object
Constructor Details
#initialize(origin, what, message, suggest_quotes, cause) ⇒ Problem
Returns a new instance of Problem.
76 77 78 79 80 81 82 |
# File 'lib/hocon/impl/tokens.rb', line 76 def initialize(origin, what, , suggest_quotes, cause) super(TokenType::PROBLEM, origin) @what = what @message = @suggest_quotes = suggest_quotes @cause = cause end |
Instance Method Details
#cause ⇒ Object
96 97 98 |
# File 'lib/hocon/impl/tokens.rb', line 96 def cause @cause end |
#message ⇒ Object
88 89 90 |
# File 'lib/hocon/impl/tokens.rb', line 88 def @message end |
#suggest_quotes ⇒ Object
92 93 94 |
# File 'lib/hocon/impl/tokens.rb', line 92 def suggest_quotes @suggest_quotes end |
#what ⇒ Object
84 85 86 |
# File 'lib/hocon/impl/tokens.rb', line 84 def what @what end |