class Syntax::Sections

Attributes

catch[R]
node[R]

Public Instance Methods

parse() click to toggle source
# File lib/dandy/routing/syntax/sections.rb, line 5
def parse
  elements.each do |element|
    if element.is_a? Node
      @node = element.parse
    end

    if element.is_a? CatchSection
      @catch = element.parse
    end
  end

  self
end