Sha256: 6affc6eb01a198474f585b19bad384219f8153cd232c56c602221dee1cd62d7a

Contents?: true

Size: 287 Bytes

Versions: 10

Compression:

Stored size: 287 Bytes

Contents

module ActiveFedora::Aggregation
  # A null proxy to simplify logic.
  class NullProxy
    include Singleton

    attr_writer :prev, :next
    def prev
      self
    end

    def next
      self
    end

    def reload
      self
    end

    def changed?
      false
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
activefedora-aggregation-0.9.0 lib/active_fedora/aggregation/null_proxy.rb
activefedora-aggregation-0.8.1 lib/active_fedora/aggregation/null_proxy.rb
activefedora-aggregation-0.8.0 lib/active_fedora/aggregation/null_proxy.rb
activefedora-aggregation-0.7.0 lib/active_fedora/aggregation/null_proxy.rb
activefedora-aggregation-0.6.0 lib/active_fedora/aggregation/null_proxy.rb
activefedora-aggregation-0.5.0 lib/active_fedora/aggregation/null_proxy.rb
activefedora-aggregation-0.4.2 lib/active_fedora/aggregation/null_proxy.rb
activefedora-aggregation-0.4.1 lib/active_fedora/aggregation/null_proxy.rb
activefedora-aggregation-0.4.0 lib/active_fedora/aggregation/null_proxy.rb
activefedora-aggregation-0.3.0 lib/active_fedora/aggregation/null_proxy.rb