Sha256: 864f2b76c93b914e5a14433b114a43b50f44ec04168e3bdbc7a04d853fbb4699
Contents?: true
Size: 296 Bytes
Versions: 7
Compression:
Stored size: 296 Bytes
Contents
module Rack::App::FrontEnd::SyntaxSugar::DSL def helper(symbolic_name) module_name = "Rack::App::FrontEnd::Helpers::#{symbolic_name.to_s.split('_').collect(&:capitalize).join}" ObjectSpace.each_object(Module).select{|m| not m.is_a?(Class) }.find {|m| m.to_s == module_name } end end
Version data entries
7 entries across 7 versions & 1 rubygems