# File lib/methodsig.rb, line 231 def block_arg block = self.next if block.class == Node::BLOCK and block.next.head.class == Node::BLOCK_ARG then # subtract 2 to account for implicit vars return block.next.head.cnt - 2 else return nil end end