Method: Cyc::UnbalancedOpeningParenthesis#initialize
- Defined in:
- lib/cyc/exception.rb
#initialize(count) ⇒ UnbalancedOpeningParenthesis
Initialize the exception with the count of unbalanced opening parentheses.
17 18 19 20 |
# File 'lib/cyc/exception.rb', line 17 def initialize(count) super("There are #{count} unbalanced opening parentheses") @count = count end |