| .. | |||||
| actions | |||||
| core_ext | |||||
| line_editor | |||||
| parser | |||||
| shell | |||||
| actions.rb | |||||
| base.rb | |||||
| command.rb | |||||
| error.rb | |||||
| group.rb | |||||
| invocation.rb | |||||
| line_editor.rb | |||||
| nested_context.rb | |||||
| parser.rb | |||||
| rake_compat.rb | |||||
| runner.rb | |||||
| shell.rb | |||||
| util.rb | |||||
| version.rb |
class Bundler::Thor
class NestedContext
def initialize
@depth = 0
end
def enter
push
yield
ensure
pop
end
def entered?
@depth > 0
end
private
def push
@depth += 1
end
def pop
@depth -= 1
end
end
end
| .. | |||||
| actions | |||||
| core_ext | |||||
| line_editor | |||||
| parser | |||||
| shell | |||||
| actions.rb | |||||
| base.rb | |||||
| command.rb | |||||
| error.rb | |||||
| group.rb | |||||
| invocation.rb | |||||
| line_editor.rb | |||||
| nested_context.rb | |||||
| parser.rb | |||||
| rake_compat.rb | |||||
| runner.rb | |||||
| shell.rb | |||||
| util.rb | |||||
| version.rb |