Sha256: b919c4d093eb18c74df65f99d5eda9c90b8b01d2953d1fd107721a16d10cbe92

Contents?: true

Size: 255 Bytes

Versions: 31

Compression:

Stored size: 255 Bytes

Contents

# frozen_string_literal: true

require 'active_support/core_ext/string/inflections'
require 'eac_ruby_utils/templates/searcher'

class Module
  def template
    @template ||= ::EacRubyUtils::Templates::Searcher.default.template(name.underscore)
  end
end

Version data entries

31 entries across 31 versions & 3 rubygems

Version Path
eac_ruby_utils-0.58.1 lib/eac_ruby_utils/patches/module/template.rb
avm-tools-0.88.0 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/template.rb
avm-tools-0.87.1 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/template.rb
ehbrs-tools-0.19.0 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/template.rb
eac_ruby_utils-0.58.0 lib/eac_ruby_utils/patches/module/template.rb
ehbrs-tools-0.18.0 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/template.rb
eac_ruby_utils-0.57.2 lib/eac_ruby_utils/patches/module/template.rb
avm-tools-0.87.0 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/template.rb
eac_ruby_utils-0.57.1 lib/eac_ruby_utils/patches/module/template.rb
eac_ruby_utils-0.57.0 lib/eac_ruby_utils/patches/module/template.rb
ehbrs-tools-0.17.0 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/template.rb