Sha256: 8ca8575c18e952cb084d5d2807147eb3729c38f93a97d93515ef02936eb9ee3d

Contents?: true

Size: 211 Bytes

Versions: 1

Compression:

Stored size: 211 Bytes

Contents

module ActsAsLinkable
  
  def self.included(base)
    base.extend ClassMethods
  end
  
  module ClassMethods
    
    def acts_as_linkable(*args, &block)
      acts_as_joinable_on :links
    end
    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
acts-as-linkable-0.0.1.5 lib/acts-as-linkable/acts_as_linkable.rb