Sha256: c5c764bfa734fae6878e152be66b1f974d9a24b117527122bbde2f40cccb08eb

Contents?: true

Size: 231 Bytes

Versions: 41

Compression:

Stored size: 231 Bytes

Contents

# subject.rb

module Spout
  module Models

    class Subject
      attr_accessor :_visit

      def self.create(&block)
        subject = self.new
        yield subject if block_given?
        subject
      end

    end
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
spout-0.10.2 lib/spout/models/subject.rb
spout-0.10.1 lib/spout/models/subject.rb
spout-0.10.0 lib/spout/models/subject.rb
spout-0.10.0.rc3 lib/spout/models/subject.rb
spout-0.10.0.rc2 lib/spout/models/subject.rb
spout-0.10.0.rc lib/spout/models/subject.rb
spout-0.10.0.beta10 lib/spout/models/subject.rb
spout-0.10.0.beta9 lib/spout/models/subject.rb
spout-0.10.0.beta8 lib/spout/models/subject.rb
spout-0.10.0.beta7 lib/spout/models/subject.rb
spout-0.10.0.beta6 lib/spout/models/subject.rb
spout-0.10.0.beta4 lib/spout/models/subject.rb
spout-0.10.0.beta3 lib/spout/models/subject.rb
spout-0.10.0.beta2 lib/spout/models/subject.rb
spout-0.10.0.beta1 lib/spout/models/subject.rb
spout-0.9.1 lib/spout/models/subject.rb
spout-0.9.0 lib/spout/models/subject.rb
spout-0.9.0.rc lib/spout/models/subject.rb
spout-0.9.0.beta2 lib/spout/models/subject.rb
spout-0.9.0.beta1 lib/spout/models/subject.rb