Module: Props::DependencyTrackerMethods
- Defined in:
- lib/props_template/dependency_tracker.rb
Constant Summary collapse
- INDIRECT_RENDERS =
Matches:
json.comments @post.comments, partial: "comments/comment", as: :comment json.array! @posts, partial: "posts/post", as: :post
/ (?::partial\s*=>|partial:) # partial: or :partial => \s* # optional whitespace \[* # optional Bracket \s* # optional whitespace (['"])([^'"]+)\1 # quoted value /x
Instance Method Summary collapse
Instance Method Details
#dependencies ⇒ Object
33 34 35 |
# File 'lib/props_template/dependency_tracker.rb', line 33 def dependencies indirect_dependencies + explicit_dependencies end |