Class: Tickly::NodeProcessor::Ratchet

Inherits:
Parser
  • Object
show all
Defined in:
lib/tickly/node_processor.rb

Overview

:nodoc: :all

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Parser

#parse

Instance Attribute Details

#expr_callbackObject

Returns the value of attribute expr_callback.



54
55
56
# File 'lib/tickly/node_processor.rb', line 54

def expr_callback
  @expr_callback
end

Instance Method Details

#compact_subexpr(expr, at_depth) ⇒ Object



55
56
57
# File 'lib/tickly/node_processor.rb', line 55

def compact_subexpr(expr, at_depth)
  expr_callback.call(expr, at_depth)
end