Skip to content

Commit 8883a2f

Browse files
author
John Doe
committed
Remove alias Command#call_with
1 parent b67c898 commit 8883a2f

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ $ gem install ruby-sh
5757
### Basic Syntax
5858

5959
```ruby
60-
# Create a command, use `cmd`/`command`
60+
# Create a command
6161
cmd = Rubsh.cmd("ls")
6262

63-
# Invoke a command, use `call`/`call_with`
63+
# Invoke it
6464
result = cmd.call("-la")
6565

6666
# Print result

lib/rubsh/command.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ def call(*args, **kwargs)
3232
rcmd.__run
3333
rcmd
3434
end
35-
alias_method :call_with, :call
3635

3736
# @param args [String, Symbol, #to_s, Hash]
3837
# @param kwargs [Hash]

0 commit comments

Comments
 (0)