Class: Comet::Rules::Error
- Inherits:
-
Object
- Object
- Comet::Rules::Error
- Defined in:
- lib/comet/rules/error.rb
Instance Method Summary collapse
- #commands ⇒ Object
- #contents ⇒ Object
-
#initialize(message) ⇒ Error
constructor
A new instance of Error.
- #rules ⇒ Object
- #target ⇒ Object
Constructor Details
#initialize(message) ⇒ Error
Returns a new instance of Error.
4 5 6 |
# File 'lib/comet/rules/error.rb', line 4 def initialize() @message = end |
Instance Method Details
#commands ⇒ Object
20 21 22 |
# File 'lib/comet/rules/error.rb', line 20 def commands {} end |
#contents ⇒ Object
12 13 14 |
# File 'lib/comet/rules/error.rb', line 12 def contents ["$(error #{})"] end |
#rules ⇒ Object
16 17 18 |
# File 'lib/comet/rules/error.rb', line 16 def rules [] end |
#target ⇒ Object
8 9 10 |
# File 'lib/comet/rules/error.rb', line 8 def target nil end |