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 3.0.2
Ruby-doc.org is provided by James Britt and Neurogami. Maximum R+D.
Generated with Ruby-doc Rdoc Generator 0.42.0.