Sha256: 71091c654366110c51e16bfb135c948cb36de1f9a1f3f14bcf1823ac0ca7fab9

Contents?: true

Size: 241 Bytes

Versions: 2

Compression:

Stored size: 241 Bytes

Contents

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

Version data entries

2 entries across 2 versions & 1 rubygems

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