Sha256: 19421a74d945126f65b7e57ff40a515084ba4f415efbfc125562ea98964dc30a

Contents?: true

Size: 152 Bytes

Versions: 9

Compression:

Stored size: 152 Bytes

Contents

# frozen_string_literal: true

module MrCommon
  class Pattern
    class << self
      def email
        /\A\S+@\S+\.\S+\z/
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
mr_common-1.3.0 app/models/mr_common/pattern.rb
mr_common-1.2.0 app/models/mr_common/pattern.rb
mr_common-1.1.0 app/models/mr_common/pattern.rb
mr_common-1.0.5 app/models/mr_common/pattern.rb
mr_common-1.0.4 app/models/mr_common/pattern.rb
mr_common-1.0.3 app/models/mr_common/pattern.rb
mr_common-1.0.2 app/models/mr_common/pattern.rb
mr_common-1.0.1 app/models/mr_common/pattern.rb
mr_common-1.0.0 app/models/mr_common/pattern.rb