Sha256: 7300c22633a9c4f0627a5b477224229091cd8f58d19fe1c097a3d2d42ccd360b

Contents?: true

Size: 201 Bytes

Versions: 2

Compression:

Stored size: 201 Bytes

Contents

class PosableThree < ActiveRecord::Base
  posify :text_1, :text_2, :generate_custom_text do
    "|from pose block|"
  end

  # @return [String]
  def generate_custom_text
    "|custom text|"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pose-3.2.0 spec/support/models/posable_three.rb
pose-3.1.1 spec/support/models/posable_three.rb