class Syntax::BeforeSection
Attributes
commands[R]
Public Instance Methods
parse()
click to toggle source
# File lib/silicon/routing/syntax/before_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