Class: Usher::Route::Variable::Greedy

Inherits:
Usher::Route::Variable show all
Defined in:
lib/usher/route/variable.rb

Instance Attribute Summary

Attributes inherited from Usher::Route::Variable

#default_value, #look_ahead, #look_ahead_priority, #name, #regex_matcher, #type, #validator

Instance Method Summary collapse

Methods inherited from Usher::Route::Variable

#==, #valid!, #validates?

Instance Method Details

#to_sObject



72
73
74
# File 'lib/usher/route/variable.rb', line 72

def to_s
  "!#{name}"
end