I hereby claim:
- I am clarkcutler on github.
- I am clarkcarbonfive (https://keybase.io/clarkcarbonfive) on keybase.
- I have a public key ASDL6D8NWYreqnzmyPE2bkhT5NFfOmKPHt2trywl28SSJwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# Extracted Source | |
def to_d | |
BigDecimal(self) | |
end | |
# Full Trace | |
~/.rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/bigdecimal/util.rb:61:in `BigDecimal' | |
~/.rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/bigdecimal/util.rb:61:in `to_d' | |
~/Projects/spree/core/lib/spree/localized_number.rb:18:in `parse' | |
~/Projects/spree/core/app/models/spree/price.rb:28:in `amount=' |
GIT | |
remote: https://github.com/spree/spree_auth_devise.git | |
revision: 31b705dad038b0eea914930955c6ac61d70ee760 | |
branch: master | |
specs: | |
spree_auth_devise (3.2.0.beta) | |
devise (~> 4.0.0) | |
devise-encryptable (= 0.1.2) | |
spree_core (>= 3.1.0, < 4.0) |
source 'https://rubygems.org' | |
git_source(:github) do |repo_name| | |
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/") | |
"https://github.com/#{repo_name}.git" | |
end | |
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | |
gem 'rails', '~> 5.0.2' |
The behavior of your foldFromRight function will be similar to "reduce" in JavaScript and Ruby - except for the fact that it will move from the end of the list to the beginning (instead of from the beginning to the end).