Sha256: 0aef9c61490238b38ac465f114304702b343bdf99d6f070076ebec15dfc15707
Contents?: true
Size: 616 Bytes
Versions: 10
Compression:
Stored size: 616 Bytes
Contents
# frozen_string_literal: true module Katalyst module Tables module Collection module Query class UntaggedLiteral attr_accessor :query, :value def initialize(value:, start:) @value = value @start = start @end = start + value.length end def literal? true end def tagged? false end def range @start..@end end def to_str @value end alias to_s to_str end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems