Sha256: 05ff225fbea2133b030c056729b67ebcde59e053e4e088d8659a6ee4bed76fec

Contents?: true

Size: 440 Bytes

Versions: 2

Compression:

Stored size: 440 Bytes

Contents

# encoding: utf-8

module Piglet
  module Inout
    class Store # :nodoc:
      include StorageTypes
      include Output
    
      def initialize(relation, path, options={})
        @relation, @path, @using = relation, path, options[:using]
      end
    
      def to_s
        str  = super
        str << " INTO '#{@path}'"
        str << " USING #{resolve_load_store_function(@using)}" if @using
        str
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
piglet-0.3.0 lib/piglet/inout/store.rb
piglet-0.2.5 lib/piglet/inout/store.rb