Skip to content
New issue

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

Replace powerNumerator with power_numerator to suit Ruby conventions #5

Open
ronaldtse opened this issue Dec 29, 2022 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@ronaldtse
Copy link

hash["length"] and @length = hash["length"]["powerNumerator"].to_i
hash["mass"] and @mass = hash["mass"]["powerNumerator"].to_i
hash["time"] and @time = hash["time"]["powerNumerator"].to_i
hash["electric_current"] and @electric_current = hash["electric_current"]["powerNumerator"].to_i
hash["thermodynamic_temperature"] and
@thermodynamic_temperature = hash["thermodynamic_temperature"]["powerNumerator"].to_i
hash["amount_of_substance"] and @amount_of_substance = hash["amount_of_substance"]["powerNumerator"].to_i
hash["luminous_intensity"] and @luminous_intensity = hash["luminous_intensity"]["powerNumerator"].to_i
hash["plane_angle"] and @plane_angle = hash["plane_angle"]["powerNumerator"].to_i

Supersedes: plurimath/asciimath2unitsml#36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant