Class: Rundoc::CodeCommand::NoSuchCommand

Inherits:
Object
  • Object
show all
Defined in:
lib/rundoc/code_command/no_such_command.rb

Instance Method Summary collapse

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

Raises:



9
10
11
# File 'lib/rundoc/code_command/no_such_command.rb', line 9

def call(env = {})
  raise UnknownCommand
end