Sha256: 7f5e3c3819f60cb1883e29caad381dea10318897c6ef2a61ecd5c6c66408ccd9
Contents?: true
Size: 501 Bytes
Versions: 4
Compression:
Stored size: 501 Bytes
Contents
$:.unshift(File.dirname(__FILE__)) require 'templatelets/href' require 'templatelets/attribute' require 'templatelets/each' require 'templatelets/include' require 'templatelets/link' require 'templatelets/text' require 'templatelets/when' module REXML class Element def attribute_value!(name) value = attribute_value(name) raise "attribute #{name} not found" unless value return value end def attribute_value(name) return attributes[name] end end end
Version data entries
4 entries across 4 versions & 1 rubygems