class Syntax::AfterSection

Attributes

commands[R]

Public Instance Methods

parse() click to toggle source
# File lib/silicon/routing/syntax/after_section.rb, line 5
def parse
  @commands = []

  if elements.length > 0
    elements[0].elements.each do |element|
      if element.is_a? Commands
        @commands = element.parse
      end
    end
  end

  self
end