Sha256: d653931384ad8032b3754e29e297b3fb8e6a92480ff5cf2e7d08b0b56ebe1668

Contents?: true

Size: 153 Bytes

Versions: 2

Compression:

Stored size: 153 Bytes

Contents

<script>
function solution(variables) {
  return <%= equation.present? ? equation.gsub(/[a-z_][a-z_0-9]*/, 'variables.\0').html_safe : 0 %>;
}
</script>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
citizen_budget_model-0.0.4 app/views/citizen_budget_model/simulators/_equation.html.erb
citizen_budget_model-0.0.3 app/views/citizen_budget_model/simulators/_equation.html.erb