Sha256: 1a0ef5db77cf4966e5c88c3f7e898998bb4c104c0bc843d1b7639413afd356cb
Contents?: true
Size: 278 Bytes
Versions: 3
Compression:
Stored size: 278 Bytes
Contents
require_relative 'my_concern' class MyClass include MyConcern validate :name, :surname, String validate :age, :legs, Integer def initialize(name: nil, surname: nil, age: nil, legs: nil) @name = name @surname = surname @age = age @legs = legs end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sinclair-1.1.1 | spec/support/models/my_class.rb |
sinclair-1.1.0 | spec/support/models/my_class.rb |
sinclair-1.0.0 | spec/support/models/my_class.rb |