Sha256: 368b46147abdaadae0d9d85d12c81e04f4312b6ff5383b531b91f3b9dcc262be

Contents?: true

Size: 266 Bytes

Versions: 1

Compression:

Stored size: 266 Bytes

Contents

class Exercism
  module Templates

    class RangeExclusive < Template

      def initialize(range)
        @range = range
      end

      def render
        <<-TEMPLATE
#{@range.left.src}...#{@range.right.left.value}
        TEMPLATE
      end

    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
exercism-analysis-0.1.1 lib/exercism-analysis/templates/range_exclusive.rb