Sha256: 39104011527849580341f2e6bb32384aabd8fc15284d4b1cefc1b0aeb622e208
Contents?: true
Size: 445 Bytes
Versions: 3
Compression:
Stored size: 445 Bytes
Contents
module HowAreWeDoing module ActsAsViewable #:nodoc: def self.included(base) base.extend ClassMethods end module ClassMethods def acts_as_viewable has_many :views, :as => :viewable include HowAreWeDoing::ActsAsViewable::InstanceMethods extend HowAreWeDoing::ActsAsViewable::SingletonMethods end end module SingletonMethods end module InstanceMethods end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
how_are_we_doing-0.0.3 | lib/acts_as_viewable.rb |
how_are_we_doing-0.0.2 | lib/acts_as_viewable.rb |
how_are_we_doing-0.0.1 | lib/acts_as_viewable.rb |