Sha256: 90b467c3de4c8d8cca86a8bd2b2d75b6aec430a2ae0ea465016a661da2cdc86a

Contents?: true

Size: 286 Bytes

Versions: 9

Compression:

Stored size: 286 Bytes

Contents

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

            def value
              contents.is_a?(ArrayContent) ? contents.values : [contents.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/array.rb
rasti-db-4.1.1 lib/rasti/db/nql/nodes/constants/array.rb
rasti-db-4.1.0 lib/rasti/db/nql/nodes/constants/array.rb
rasti-db-4.0.0 lib/rasti/db/nql/nodes/constants/array.rb
rasti-db-3.0.0 lib/rasti/db/nql/nodes/constants/array.rb
rasti-db-2.3.3 lib/rasti/db/nql/nodes/constants/array.rb
rasti-db-2.3.2 lib/rasti/db/nql/nodes/constants/array.rb
rasti-db-2.3.1 lib/rasti/db/nql/nodes/constants/array.rb
rasti-db-2.3.0 lib/rasti/db/nql/nodes/constants/array.rb