Sha256: 8e20ebb1cfe4c8169874b629a8fdc755d83d410ebeac0a99deba0b4ad7a131d6

Contents?: true

Size: 179 Bytes

Versions: 3

Compression:

Stored size: 179 Bytes

Contents

class NonActiveRecordClass
  attr_accessor :name

  def initialize(attributes)
    self.name = attributes[:name]
  end

  def self.create(attributes)
    new(attributes)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rspec-set-0.1.3 spec/fixtures/non_active_record_class.rb
rspec-set-0.1.2 spec/fixtures/non_active_record_class.rb
rspec-set-0.1.1 spec/fixtures/non_active_record_class.rb