Sha256: 7a358fecb2d985e3813a5422302d490c15195ba1f402c61bcff366f1f09a1854

Contents?: true

Size: 276 Bytes

Versions: 7

Compression:

Stored size: 276 Bytes

Contents

module Liquor
  module Dropable
    module ClassMethods
      def to_drop
        DropDelegation.wrap_scope(self)
      end
    end

    def self.included(klass)
      klass.extend ClassMethods
    end

    def to_drop
      DropDelegation.wrap_element(self)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
liquor-1.0.0 lib/liquor/drop/dropable.rb
liquor-0.9.6 lib/liquor/drop/dropable.rb
liquor-0.9.5 lib/liquor/drop/dropable.rb
liquor-0.9.4 lib/liquor/drop/dropable.rb
liquor-0.9.3 lib/liquor/drop/dropable.rb
liquor-0.9.2 lib/liquor/drop/dropable.rb
liquor-0.9.1 lib/liquor/drop/dropable.rb