class Syntax::CatchSection

Attributes

command[R]

Public Instance Methods

parse() click to toggle source
# File lib/dandy/routing/syntax/catch_section.rb, line 5
def parse
  elements[0].elements.each do |element|
    if element.is_a? Command
      @command = element.parse
    end
  end

  self
end