We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In xmpfilter mode, when there are multiple output locations, it inspects multiple times. Not sure this is worth caring about:
require 'bigdecimal' # => true public def usd; BigDecimal self end public def inr; BigDecimal(self) / 70 end class BigDecimal def inspect sprintf("$%.2f", self).sub(/\d+/) { $& # => "1234", "1234" } end end n = BigDecimal '1234.56' # => $1234.56 # => $1234.56
The text was updated successfully, but these errors were encountered:
Simpler example:
s = "" def s.inspect "s" # => "s", "s" end s # => s # => s
Sorry, something went wrong.
No branches or pull requests
In xmpfilter mode, when there are multiple output locations, it inspects multiple times. Not sure this is worth caring about:
The text was updated successfully, but these errors were encountered: