Sha256: c42dbce52ea3a7da5a8eb0db825d2d397236cb58925d6f1e7c5d8e256802acb5
Contents?: true
Size: 159 Bytes
Versions: 2
Compression:
Stored size: 159 Bytes
Contents
# frozen_string_literal: true class Book include ActiveModel::Model attr_accessor :id, :title def to_s "<span>#{title}</span>".html_safe end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
faml-0.8.1 | spec/rails/app/models/book.rb |
faml-0.8.0 | spec/rails/app/models/book.rb |