Class: Usher::Route::Variable::Single

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



60
61
62
# File 'lib/usher/route/variable.rb', line 60

def to_s
  ":#{name}"
end