Sha256: e66d5b6eb69f8c757e973f6f378733c99e3f8099a73a852a23626c9dd5b27842
Contents?: true
Size: 396 Bytes
Versions: 5
Compression:
Stored size: 396 Bytes
Contents
# encoding: utf-8 module Mixture module Types # A symbol. Don't really use this for coercion; in Ruby 2.2.2, # they added garbage collection for symbols; however, it is still # not a brilliant idea to turn user input into symbols. class Symbol < Object register options[:primitive] = ::Symbol options[:method] = :to_symbol as :symbol end end end
Version data entries
5 entries across 5 versions & 1 rubygems