Method: Inspec::Profile::AstHelper::TitleCollector#on_send
- Defined in:
- lib/inspec/utils/profile_ast_helpers.rb
#on_send(node) ⇒ Object
110 111 112 113 114 115 |
# File 'lib/inspec/utils/profile_ast_helpers.rb', line 110 def on_send(node) if RuboCop::AST::NodePattern.new("(send nil? :title ...)").match(node) # TODO - title may not be a simple string memo[:title] = node.children[2].value end end |