Class: BlockEntity
- Defined in:
- lib/exploration/block_entity.rb
Overview
Explores any children of a :block element. The block element itself is not yielded as an entity only children.
Instance Attribute Summary
Attributes inherited from Explorer
Instance Method Summary collapse
Methods inherited from Entity
Constructor Details
This class inherits a constructor from Entity
Instance Method Details
#each(sexp, context = nil, &block) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/exploration/block_entity.rb', line 5 def each sexp, context=nil, &block if sexp.first == :block sexp.each_sexp do |sub_sexp| explore sub_sexp, context, &block end end end |