Class: Pakyow::Presenter::MultipartBinding Private

Inherits:
SignificantNode show all
Defined in:
lib/pakyow/presenter/significant_nodes.rb

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

Class Method Summary collapse

Methods inherited from SignificantNode

binding_within?, within_binding?, within_form?

Class Method Details

.significant?(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)


150
151
152
153
154
# File 'lib/pakyow/presenter/significant_nodes.rb', line 150

def self.significant?(node)
  BindingNode.significant?(node) &&
    node.attribute(:binding).value.include?(".") &&
    !node.attribute(:binding).value.start_with?("@")
end