class AnnotateRoutes::RouteWrapper

Attributes

info[R]
reqs[R]

Public Class Methods

new(route_str) click to toggle source
# File lib/annotate_routes/route_wrapper.rb, line 5
def initialize(route_str)
  if route_str =~ /(.*) +([^[:upper:]]+#[^[:upper:]]+)\n/
    @info = $1.strip.split(' ')
    @reqs = $2
  end
end