Module: NamedRoutes::Routes::Definition::InstanceMethods

Defined in:
lib/named-routes/routes.rb

Instance Method Summary collapse

Instance Method Details

#as_json(*args) ⇒ Object



13
14
15
# File 'lib/named-routes/routes.rb', line 13

def as_json(*args)
  self.class.defined_routes
end

#eval(*args) ⇒ Object



9
10
11
# File 'lib/named-routes/routes.rb', line 9

def eval(*args)
  self.class.eval(*args)
end