Update section.rb

Added support for a new "resource" type of sections.