Sha256: 2ce7c48b6540e6fccc36d4020ffb6b050fe3e6342fd32e41d299bb7e9443819e

Contents?: true

Size: 375 Bytes

Versions: 2

Compression:

Stored size: 375 Bytes

Contents

module Piglet
  class Store # :nodoc:
    include LoadAndStore
    include Storing
    
    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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
piglet-0.1.1 lib/piglet/store.rb
piglet-0.1.0 lib/piglet/store.rb