Sha256: 1b31bdfe78387f2a441eb7a8dd6396309eb426b9dbfb7349154a3fa7b5676cff

Contents?: true

Size: 129 Bytes

Versions: 3

Compression:

Stored size: 129 Bytes

Contents

class Book
  include ActiveModel::Model

  attr_accessor :id, :title

  def to_s
    "<span>#{title}</span>".html_safe
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
faml-0.6.0 spec/rails/app/models/book.rb
faml-0.5.1 spec/rails/app/models/book.rb
faml-0.5.0 spec/rails/app/models/book.rb