Sha256: 93ac6b15a7486c1415d646cee510888fb5bc107ee4f6c810772603527bcc0ab4

Contents?: true

Size: 382 Bytes

Versions: 4

Compression:

Stored size: 382 Bytes

Contents

require 'xi/pattern'

module Xi
  module Pattern::Simple
    def p(dur=nil, **metadata)
      [self].p(dur, metadata)
    end
  end
end

class Fixnum;   include Xi::Pattern::Simple; end
class Float;    include Xi::Pattern::Simple; end
class String;   include Xi::Pattern::Simple; end
class Symbol;   include Xi::Pattern::Simple; end
class Rational; include Xi::Pattern::Simple; end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
xi-lang-0.1.4 lib/xi/core_ext/simple.rb
xi-lang-0.1.3 lib/xi/core_ext/simple.rb
xi-lang-0.1.2 lib/xi/core_ext/simple.rb
xi-lang-0.1.0 lib/xi/core_ext/simple.rb