Parslet::Pattern::SubtreeBind
Binds a symbol to a simple subtree, one that is not either a sequence of elements or a collection of attributes.
# File lib/parslet/pattern/binding.rb, line 37 def can_bind?(subtree) not [Hash, Array].include?(subtree.class) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.