Sha256: e8092206c03e107350e629d86abb43231ac9149f726c8951c9aa7273c2c3824e
Contents?: true
Size: 290 Bytes
Versions: 117
Compression:
Stored size: 290 Bytes
Contents
class 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
Version data entries
117 entries across 70 versions & 14 rubygems