Sha256: 8c8f0de0cebc7e8db59be28c92c6992be71f0505e7adcb1259b8995482fa9c83

Contents?: true

Size: 241 Bytes

Versions: 5

Compression:

Stored size: 241 Bytes

Contents

class Author < ActiveRecord::Base
  
  version_fu
  def create_new_version?
    first_name_change && last_name_changed? 
  end
  
  def name
    "#{first_name} #{last_name}"
  end
  
  def hello_world(n=1)
    "Hello World #{n}"
  end
  
end

Version data entries

5 entries across 5 versions & 4 rubygems

Version Path
revo-version_fu-1.0.0 test/fixtures/author.rb
version_fu-1.0.2 test/models/author.rb
edouard-version_fu-1.0.2 test/models/author.rb
version_fu-1.0.1 test/models/author.rb
nbudin-version_fu-1.0.0 test/models/author.rb