Sha256: 97e133b3da02db860323489cb37157d8ff476077c39a15f8d2c291cc0c783b4d
Contents?: true
Size: 414 Bytes
Versions: 5
Compression:
Stored size: 414 Bytes
Contents
module Oxidized class Source class NoConfig < OxidizedError; end def initialize @map = (Oxidized.config.model_map or {}) end def map_model model @map.has_key?(model) ? @map[model] : model end def node_var_interpolate var case var when "nil" then nil when "false" then false when "true" then true else var end end end end
Version data entries
5 entries across 5 versions & 1 rubygems