Sha256: c447106f791add643101b10ac58828da5db9d75fe5ca9d06614ace6bf0144e64

Contents?: true

Size: 250 Bytes

Versions: 2

Compression:

Stored size: 250 Bytes

Contents

# encoding: utf-8
# frozen_string_literal: true

module Mixture
  module Types
    # A string.
    class String < Object
      register
      options[:primitive] = ::String
      options[:method] = :to_string
      as :str, :string
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mixture-0.7.1 lib/mixture/types/string.rb
mixture-0.7.0 lib/mixture/types/string.rb