Sha256: b57bdf639a5f5b6b9476bbea6dbe9822f36bd3e4c43ed443f4d3f5d4e75bca7b

Contents?: true

Size: 258 Bytes

Versions: 11

Compression:

Stored size: 258 Bytes

Contents

class <%=@instname%> < Instruction
  def preconditions?
    true # no preconditions
  end
  def setup
  end
  def derive
    @result = ValuePoint.new("<%=@type%>", <%=@camelized_type%>.any_value)
  end
  def cleanup
    pushes :<%=@type%>, @result
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
nudge-0.2.9 templates/nudge_random_instruction.erb
nudge-0.2.8 templates/nudge_random_instruction.erb
nudge-0.2.7 templates/nudge_random_instruction.erb
nudge-0.2.6 templates/nudge_random_instruction.erb
nudge-0.2.5 templates/nudge_random_instruction.erb
nudge-0.2.4 templates/nudge_random_instruction.erb
nudge-0.2.3 templates/nudge_random_instruction.erb
nudge-0.2.2 templates/nudge_random_instruction.erb
nudge-0.2.1 templates/nudge_random_instruction.erb
nudge-0.2.0 templates/nudge_random_instruction.erb
nudge-0.1.3 templates/nudge_random_instruction.erb