Sha256: 979c3f05f7313d5d166dc8c49842e70f13cbf725c50218aa4e0242b0228594c1
Contents?: true
Size: 859 Bytes
Versions: 34
Compression:
Stored size: 859 Bytes
Contents
# Copyright (C) 2016 Kouhei Sutou <kou@clear-code.com> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. module Grntest class TemplateEvaluator def initialize(template) @template = template end def evaluate(i) eval(@template) end end end
Version data entries
34 entries across 34 versions & 1 rubygems