Sha256: 96fc37b60db2b95e44fec580528f25613389e4321c3e97e2bad9c89fc5501b02
Contents?: true
Size: 427 Bytes
Versions: 31
Compression:
Stored size: 427 Bytes
Contents
# This file is part of the "Utopia Framework" project, and is licensed under the GNU AGPLv3. # Copyright 2010 Samuel Williams. All rights reserved. # See <utopia.rb> for licensing details. require 'utopia/tags' Utopia::Tags.create("env") do |transaction, state| only = state[:only].split(",").collect(&:to_sym) rescue [] if defined?(UTOPIA_ENV) && only.include?(UTOPIA_ENV) transaction.parse_xml(state.content) end end
Version data entries
31 entries across 31 versions & 1 rubygems