Sha256: 30d5e87dcca7014941fedf3afef19408c6cbb5d1092081d7439c79ec411e4a72

Contents?: true

Size: 285 Bytes

Versions: 1

Compression:

Stored size: 285 Bytes

Contents

class Usher
  class Route

    class Separator
      private
      def initialize(sep)
        @sep = sep
        @sep_to_s = "#{sep}"
      end

      public
      def to_s
        @sep_to_s
      end

      Dot = Separator.new(:'.')
      Slash = Separator.new(:/)
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
joshbuddy-usher-0.0.2 lib/usher/route/separator.rb