D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
td-agent
/
embedded
/
lib
/
ruby
/
gems
/
2.1.0
/
gems
/
hirb-0.7.3
/
lib
/
hirb
/
Filename :
helpers.rb
back
Copy
module Hirb module Helpers #:nodoc: @helper_classes ||= {} def self.helper_class(klass) @helper_classes[klass.to_s] ||= begin if (helper_class = constants.find {|e| e.to_s == Util.camelize(klass.to_s)}) klass = "Hirb::Helpers::#{helper_class}" end Util.any_const_get(klass) end end end end %w{table object_table auto_table tree parent_child_tree vertical_table markdown_table unicode_table tab_table}.each do |e| require "hirb/helpers/#{e}" end