Sha256: 363fc48f2fcde823e6bd3b58d74f22e3ea11afdde793f6677747e657d1b2c759

Contents?: true

Size: 233 Bytes

Versions: 7

Compression:

Stored size: 233 Bytes

Contents

# frozen_string_literal: true

module Codebreakergem
  class User
    include Checker

    attr_accessor :name

    def initialize(name)
      @name = name
    end

    def valid?
      validate_string_length(name)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
codebreakergem-0.1.19 lib/classes/user.rb
codebreakergem-0.1.18 lib/classes/user.rb
codebreakergem-0.1.17 lib/classes/user.rb
codebreakergem-0.1.16 lib/classes/user.rb
codebreakergem-0.1.15 lib/classes/user.rb
codebreakergem-0.1.14 lib/classes/user.rb
codebreakergem-0.1.13 lib/classes/user.rb