Class: Sexp
- Inherits:
-
Object
- Object
- Sexp
- Defined in:
- lib/flay.rb
Instance Method Summary collapse
Instance Method Details
#all_structural_subhashes ⇒ Object
324 325 326 327 328 329 330 |
# File 'lib/flay.rb', line 324 def all_structural_subhashes hashes = [] self.deep_each do |node| hashes << node.structural_hash end hashes end |
#structural_hash ⇒ Object
320 321 322 |
# File 'lib/flay.rb', line 320 def structural_hash @structural_hash ||= self.structure.hash end |