Sha256: baaca6cc1757fade4bde25a9bcf5319caa1a9212e2eda49db84782bb895324e9

Contents?: true

Size: 348 Bytes

Versions: 9

Compression:

Stored size: 348 Bytes

Contents

module Rasti
  module DB
    module NQL
      module Nodes
        module Constants
          class Time < Base

            def value
              time.to_s
            end

            private

            def time
              @time ||= Timing::TimeInZone.parse text_value
            end

          end
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rasti-db-4.2.0 lib/rasti/db/nql/nodes/constants/time.rb
rasti-db-4.1.1 lib/rasti/db/nql/nodes/constants/time.rb
rasti-db-4.1.0 lib/rasti/db/nql/nodes/constants/time.rb
rasti-db-4.0.0 lib/rasti/db/nql/nodes/constants/time.rb
rasti-db-3.0.0 lib/rasti/db/nql/nodes/constants/time.rb
rasti-db-2.3.3 lib/rasti/db/nql/nodes/constants/time.rb
rasti-db-2.3.2 lib/rasti/db/nql/nodes/constants/time.rb
rasti-db-2.3.1 lib/rasti/db/nql/nodes/constants/time.rb
rasti-db-2.3.0 lib/rasti/db/nql/nodes/constants/time.rb