Module: Liquor::Dropable

Defined in:
lib/liquor/drop/dropable.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(klass) ⇒ Object


9
10
11
# File 'lib/liquor/drop/dropable.rb', line 9

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

Instance Method Details

#to_dropObject


13
14
15
# File 'lib/liquor/drop/dropable.rb', line 13

def to_drop
  DropDelegation.wrap_element(self)
end