Sha256: b1ad4128dedb580d7449521d01a88e1cef0ddc4cfe40f6c726b2298c888892d3

Contents?: true

Size: 421 Bytes

Versions: 5

Compression:

Stored size: 421 Bytes

Contents

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

5 entries across 5 versions & 1 rubygems

Version Path
piglet-0.2.4 lib/piglet/inout/store.rb
piglet-0.2.3 lib/piglet/inout/store.rb
piglet-0.2.2 lib/piglet/inout/store.rb
piglet-0.2.0 lib/piglet/inout/store.rb
piglet-0.1.2 lib/piglet/inout/store.rb