moved the definition of void to command_context from command_processor
This commit is contained in:
parent
e012c98886
commit
e1de71e084
|
@ -17,7 +17,6 @@ class Pry
|
|||
attr_accessor :opts
|
||||
attr_accessor :command_set
|
||||
attr_accessor :command_processor
|
||||
attr_accessor :void
|
||||
attr_accessor :_pry_
|
||||
|
||||
# Run a command from another command.
|
||||
|
@ -42,6 +41,10 @@ class Pry
|
|||
Pry::Helpers::Text
|
||||
end
|
||||
|
||||
def void
|
||||
VOID_VALUE
|
||||
end
|
||||
|
||||
include Pry::Helpers::BaseHelpers
|
||||
include Pry::Helpers::CommandHelpers
|
||||
end
|
||||
|
|
|
@ -159,7 +159,6 @@ class Pry
|
|||
context.eval_string = options[:eval_string]
|
||||
context.arg_string = options[:arg_string]
|
||||
context.command_set = commands
|
||||
context.void = Pry::CommandContext::VOID_VALUE
|
||||
context._pry_ = @pry_instance
|
||||
|
||||
context.command_processor = self
|
||||
|
|
Loading…
Reference in New Issue