Skip to content

Commit

Permalink
Fixes renaming (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
KS1019 authored Mar 17, 2024
1 parent 8d6ed12 commit 92fa44d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/Scripting/Script+Comparable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ extension Script where T: Comparable {
/// - Parameter rhs: `Comparable` value
/// - Returns: Bool value by comparing the piped value and the parameter `rhs`
public func more(than rhs: T) -> Script<Bool> {
switch lhs {
switch input {
case .success(let lhs):
return .init(success: lhs > rhs)
case .failure(let error):
Expand All @@ -17,7 +17,7 @@ extension Script where T: Comparable {
/// - Parameter rhs: `Comparable` value
/// - Returns: Bool value by comparing the piped value and the parameter `rhs`
public func less(than rhs: T) -> Script<Bool> {
switch lhs {
switch input {
case .success(let lhs):
return .init(success: lhs < rhs)
case .failure(let error):
Expand All @@ -29,7 +29,7 @@ extension Script where T: Comparable {
/// - Parameter rhs: `Comparable` value
/// - Returns: Bool value by comparing the piped value and the parameter `rhs`
public func equal(to rhs: T) -> Script<Bool> {
switch lhs {
switch input {
case .success(let lhs):
return .init(success: lhs == rhs)
case .failure(let error):
Expand Down

0 comments on commit 92fa44d

Please sign in to comment.