Class: Usher::Route::Variable::Glob

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



38
39
40
# File 'lib/usher/route/variable.rb', line 38

def to_s
  "*#{name}"
end