Sha256: a3d8128823287fb1f0aac41d98399f4c7fbd3c499e5d93684b3b73f1d41a1521
Contents?: true
Size: 415 Bytes
Versions: 21
Compression:
Stored size: 415 Bytes
Contents
class LogicalModel module Hydra def self.included(base) base.send(:extend, ClassMethods) end module ClassMethods # Set which Hydra this class should use for calls. # @param hydra [Typhoues::Hydra] def use_hydra(hydra) self.hydra=(hydra) end def hydra @@hydra end def hydra=(hydra) @@hydra = hydra end end end end
Version data entries
21 entries across 21 versions & 1 rubygems