Class: Rundoc::CodeCommand::NoSuchCommand
- Inherits:
-
Object
- Object
- Rundoc::CodeCommand::NoSuchCommand
- Defined in:
- lib/rundoc/code_command/no_such_command.rb
Instance Method Summary collapse
- #call(env = {}) ⇒ Object
-
#initialize(user_args: nil, render_command: false, render_result: false, io: nil, contents: nil) ⇒ NoSuchCommand
constructor
A new instance of NoSuchCommand.
Constructor Details
#initialize(user_args: nil, render_command: false, render_result: false, io: nil, contents: nil) ⇒ NoSuchCommand
Returns a new instance of NoSuchCommand.
6 7 |
# File 'lib/rundoc/code_command/no_such_command.rb', line 6 def initialize(user_args: nil, render_command: false, render_result: false, io: nil, contents: nil) end |
Instance Method Details
#call(env = {}) ⇒ Object
9 10 11 |
# File 'lib/rundoc/code_command/no_such_command.rb', line 9 def call(env = {}) raise UnknownCommand end |