Method: Pakyow::Presenter::View#binding_scope?

Defined in:
lib/pakyow/presenter/view.rb

#binding_scope?(node) ⇒ Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)


522
523
524
# File 'lib/pakyow/presenter/view.rb', line 522

def binding_scope?(node)
  node.significant?(:binding) && (node.significant?(:binding_within) || node.significant?(:multipart_binding) || node.label(:version) == :empty)
end