Method: Mountapi::Route::Path#segment_count

Defined in:
lib/mountapi/route/path.rb

#segment_countObject



34
35
36
# File 'lib/mountapi/route/path.rb', line 34

def segment_count
  @segment_count ||= self.class.count_segment(@path)
end