Sha256: d47ee451992397b8c4ec77f31b7778292749871d44eb84b9ed012d33cfecbbf1

Contents?: true

Size: 435 Bytes

Versions: 6

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 Integer;  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

6 entries across 6 versions & 1 rubygems

Version Path
xi-lang-0.2.5 lib/xi/core_ext/scalar.rb
xi-lang-0.2.4 lib/xi/core_ext/scalar.rb
xi-lang-0.2.3 lib/xi/core_ext/scalar.rb
xi-lang-0.2.2 lib/xi/core_ext/scalar.rb
xi-lang-0.2.1 lib/xi/core_ext/scalar.rb
xi-lang-0.2.0 lib/xi/core_ext/scalar.rb