Sha256: 03722628542ee6f3ecfccdc520987c4910169efb1b9eb24c9d61b20c7597a191

Contents?: true

Size: 204 Bytes

Versions: 8

Compression:

Stored size: 204 Bytes

Contents

require 'xi/pattern'

module Xi::CoreExt
  module Array
    def p(*delta, **metadata)
      Xi::Pattern.new(self, delta: delta, **metadata)
    end
  end
end

class Array
  include Xi::CoreExt::Array
end

Version data entries

8 entries across 8 versions & 1 rubygems

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