Class: Chronic::SeparatorSlashOrDash

Inherits:
Separator show all
Defined in:
lib/chronic/separator.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from Tag

#type

Instance Method Summary collapse

Methods inherited from Separator

scan, scan_for_at, scan_for_commas, scan_for_in, scan_for_on, scan_for_slash_or_dash

Methods inherited from Tag

#initialize, #start=

Constructor Details

This class inherits a constructor from Chronic::Tag

Instance Method Details

#to_sObject



66
67
68
# File 'lib/chronic/separator.rb', line 66

def to_s
  super << '-slashordash-' << @type.to_s
end