Sha256: 1ed5aedb502f14fb2c553394deefd27b6199e34173f1d818524aa8f17928459a
Contents?: true
Size: 621 Bytes
Versions: 2
Compression:
Stored size: 621 Bytes
Contents
module PageEz module Visitors class DepthVisitor attr_reader :depth def initialize reset end def begin_block_evaluation @depth += 1 end def end_block_evaluation @depth -= 1 end def define_method(name) end def inherit_from(subclass) end def track_method_added(*) end def track_method_undefined(*) end def track_method_renamed(*) end def track_method_delegated(*) end def process_macro(*) end def reset @depth = 0 end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
page_ez-0.2.0 | lib/page_ez/visitors/depth_visitor.rb |
page_ez-0.1.0 | lib/page_ez/visitors/depth_visitor.rb |