Sha256: fac6e9cc4f5791d4699e559e822faefaeea72b295bdf5bdf2c57715a29c711b2

Contents?: true

Size: 279 Bytes

Versions: 5

Compression:

Stored size: 279 Bytes

Contents

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

5 entries across 5 versions & 1 rubygems

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