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
avm-tools-0.98.0 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/template.rb
avm-tools-0.97.0 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/template.rb
avm-tools-0.96.0 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/template.rb
eac_ruby_utils-0.63.0 lib/eac_ruby_utils/patches/module/template.rb
avm-tools-0.95.0 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/template.rb
eac_ruby_utils-0.62.1 lib/eac_ruby_utils/patches/module/template.rb
avm-tools-0.94.3 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/template.rb
eac_ruby_utils-0.62.0 lib/eac_ruby_utils/patches/module/template.rb
eac_ruby_utils-0.61.0 lib/eac_ruby_utils/patches/module/template.rb
avm-tools-0.94.2 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/template.rb
eac_ruby_utils-0.60.0 lib/eac_ruby_utils/patches/module/template.rb
avm-tools-0.94.1 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/template.rb
eac_ruby_utils-0.59.0 lib/eac_ruby_utils/patches/module/template.rb
ehbrs-tools-0.20.0 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/template.rb
avm-tools-0.94.0 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/template.rb
avm-tools-0.93.0 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/template.rb
avm-tools-0.92.0 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/template.rb
avm-tools-0.91.0 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/template.rb
avm-tools-0.90.0 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/template.rb
avm-tools-0.89.0 vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/template.rb