2011-04-25 11:26:25 +00:00
|
|
|
class Pry
|
|
|
|
# Command contexts are the objects runing each command.
|
|
|
|
# Helper modules can be mixed into this class.
|
|
|
|
class CommandContext
|
|
|
|
attr_accessor :output
|
|
|
|
attr_accessor :target
|
|
|
|
attr_accessor :opts
|
2011-04-25 16:57:02 +00:00
|
|
|
attr_accessor :commands
|
2011-04-25 11:26:25 +00:00
|
|
|
|
|
|
|
include Pry::CommandBase::CommandBaseHelpers
|
|
|
|
include Pry::CommandHelpers
|
|
|
|
end
|
|
|
|
end
|