Sha256: a3c0d19be5510c88a59131fcff63aae7d0d34fb88399d7e97de10267632d8046

Contents?: true

Size: 215 Bytes

Versions: 1

Compression:

Stored size: 215 Bytes

Contents

# -*- coding: utf-8 -*-

class String
  def _pipe_(cmd); Pry.run_command("#{cmd} #{self}") end
  alias_method :|, :_pipe_
end

class Symbol
  def _pipe_(*args); to_s._pipe_(*args) end
  alias_method :|, :_pipe_
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pry-pipeline-0.0.1 lib/pry-pipeline/ext.rb