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

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

Constant Summary

Constants inherited from Usher::Route::Variable

Greedy

Instance Attribute Summary

Attributes inherited from Usher::Route::Variable

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

Instance Method Summary collapse

Methods inherited from Usher::Route::Variable

#==, #valid!

Instance Method Details

#to_sObject



32
33
34
# File 'lib/usher/route/variable.rb', line 32

def to_s
  ":#{name}"
end