Object
# File bundler/vendor/thor/lib/thor/nested_context.rb, line 3 def initialize @depth = 0 end
# File bundler/vendor/thor/lib/thor/nested_context.rb, line 7 def enter push yield ensure pop end
# File bundler/vendor/thor/lib/thor/nested_context.rb, line 15 def entered? @depth > 0 end
This page was generated for Ruby 2.7.1
Ruby-doc.org is a service of James Britt and Neurogami, purveyors of fine dance noise.
Generated with Ruby-doc Rdoc Generator 0.42.0.