Sha256: 7e24c141fe2518d1427959dfa68834fddcfb855b3918b4ffa8729b5e95cfbb3d

Contents?: true

Size: 343 Bytes

Versions: 1

Compression:

Stored size: 343 Bytes

Contents

module Dalton
  class Attribute
    def initialize(datomic_attribute)
      @datomic_attribute = datomic_attribute
    end

    def method_missing(name, *args, &block)
      if @datomic_attribute.respond_to?(name)
        Translation.from_clj(@datomic_attribute.send(name, *args, &block))
      else
        super
      end
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dalton-0.0.1 lib/dalton/attribute.rb