Sha256: f6848b2c7dcab2a7509604fdb67eb30f62461bd90af5133c1cc3a6ed426960dc
Contents?: true
Size: 630 Bytes
Versions: 1
Compression:
Stored size: 630 Bytes
Contents
# frozen_string_literal: true require 'rexml/document' module Rake module Funnel module Extensions module REXML module Functions def lower_case(string) string.first.to_s.downcase end def matches(string, test) File.fnmatch?(test, string.first.to_s, File::FNM_CASEFOLD) end end end end end end module REXML module Functions extend Rake::Funnel::Extensions::REXML::Functions Rake::Funnel::Extensions::REXML::Functions.public_instance_methods.each do |method| singleton_method_added(method) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rake-funnel-0.22.3 | lib/rake/funnel/extensions/rexml.rb |