Skip to content

Instantly share code, notes, and snippets.

@MarioCarrion
Last active August 29, 2015 14:13
Show Gist options
  • Save MarioCarrion/6edc06bbacaddf21ffec to your computer and use it in GitHub Desktop.
Save MarioCarrion/6edc06bbacaddf21ffec to your computer and use it in GitHub Desktop.
require_relative 'base'
class Version1 < Versioning::Base
versioned_accessor :last_name, :string, length: 20, nil: false
versioned_accessor :first_name, :string, length: 20, nil: false
def version
1
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment