Sha256: 7938c1224cf74a44e3b15b370af9c3033486be89d2f06245ab5d1d0bea374c2e

Contents?: true

Size: 143 Bytes

Versions: 2

Compression:

Stored size: 143 Bytes

Contents

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
citizen_budget_model-0.0.2 app/views/citizen_budget_model/simulators/_equation.html.erb
citizen_budget_model-0.0.1 app/views/citizen_budget_model/simulators/_equation.html.erb