Skip to content

Commit

Permalink
Add String#to_i to transforms
Browse files Browse the repository at this point in the history
  • Loading branch information
joeldrapper committed Dec 19, 2024
1 parent 2c1037e commit 961e8ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/literal/transforms.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
to_str: String,
upcase: String,
valid_encoding?: Literal::Types::BooleanType::Instance,
to_i: Integer,
},
Numeric => {
to_i: Integer,
Expand Down

0 comments on commit 961e8ae

Please sign in to comment.