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!

Instance Method Details

#to_sObject



47
48
49
# File 'lib/usher/route/variable.rb', line 47

def to_s
  ":#{name}"
end