Sha256: 0933ea118db24bfd33dd3932b32f6780a6ed87a38ab02d48b8e7f4fc3afd0552

Contents?: true

Size: 298 Bytes

Versions: 2

Compression:

Stored size: 298 Bytes

Contents

# encoding: utf-8

module Piglet
  module Inout
    module Output # :nodoc:
      attr_reader :relation
    
      def initialize(relation)
        @relation = relation
      end
    
      def to_s
        "#{self.class.name.split(/::/).last.upcase} #{@relation.alias}"
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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