Sha256: c38e0adc2ea6f8d481beecca582d69e2682b286d53d3b2512a5a8360e3f2acb2

Contents?: true

Size: 435 Bytes

Versions: 1

Compression:

Stored size: 435 Bytes

Contents

require 'xi/pattern'

module Xi::CoreExt
  module Scalar
    def p(*delta, **metadata)
      [self].p(*delta, **metadata)
    end
  end
end

class Fixnum;   include Xi::CoreExt::Scalar; end
class Float;    include Xi::CoreExt::Scalar; end
class String;   include Xi::CoreExt::Scalar; end
class Symbol;   include Xi::CoreExt::Scalar; end
class Rational; include Xi::CoreExt::Scalar; end
class Hash;     include Xi::CoreExt::Scalar; end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xi-lang-0.1.5 lib/xi/core_ext/scalar.rb