Sha256: 6e2e97af71cff8ddfd86e9703af2234af56423ebce08b9dc27034be4e3c15d4b
Contents?: true
Size: 525 Bytes
Versions: 13
Compression:
Stored size: 525 Bytes
Contents
module PolyglotIos module Serializer module Language class Base include ERB::Util attr_accessor :languages def initialize(languages) @languages = languages end def render() ERB.new(template, trim_mode: '-').result(binding) end def template() fail NotImplementedError, 'Abstract Method' end def save(path) fail NotImplementedError, 'Abstract Method' end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems