Sha256: 738dd8933679f8938ad48c52ee5d1bad4226efb3039d888f6d348fa57faffb23

Contents?: true

Size: 233 Bytes

Versions: 76

Compression:

Stored size: 233 Bytes

Contents

# frozen_string_literal: true

require 'active_support/core_ext/string/inflections'
require 'eac_templates/searcher'

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

Version data entries

76 entries across 76 versions & 4 rubygems

Version Path
eac_templates-0.3.2 lib/eac_templates/patches/module/template.rb
avm-tools-0.129.0 sub/eac_templates/lib/eac_templates/patches/module/template.rb
eac_tools-0.16.0 sub/avm-tools/sub/eac_templates/lib/eac_templates/patches/module/template.rb
avm-tools-0.128.0 sub/eac_templates/lib/eac_templates/patches/module/template.rb
eac_tools-0.15.0 sub/avm-tools/sub/eac_templates/lib/eac_templates/patches/module/template.rb
eac_tools-0.14.0 sub/avm-tools/sub/eac_templates/lib/eac_templates/patches/module/template.rb
eac_tools-0.13.0 sub/avm-tools/sub/eac_templates/lib/eac_templates/patches/module/template.rb
avm-tools-0.127.0 sub/eac_templates/lib/eac_templates/patches/module/template.rb
eac_tools-0.12.0 sub/avm-tools/sub/eac_templates/lib/eac_templates/patches/module/template.rb
avm-tools-0.126.0 sub/eac_templates/lib/eac_templates/patches/module/template.rb
eac_tools-0.11.1 sub/avm-tools/sub/eac_templates/lib/eac_templates/patches/module/template.rb
avm-tools-0.125.0 sub/eac_templates/lib/eac_templates/patches/module/template.rb
eac_tools-0.11.0 sub/avm-tools/sub/eac_templates/lib/eac_templates/patches/module/template.rb
avm-tools-0.124.0 sub/eac_templates/lib/eac_templates/patches/module/template.rb
eac_tools-0.10.0 sub/avm-tools/sub/eac_templates/lib/eac_templates/patches/module/template.rb
avm-tools-0.123.0 sub/eac_templates/lib/eac_templates/patches/module/template.rb
eac_tools-0.9.0 sub/avm-tools/sub/eac_templates/lib/eac_templates/patches/module/template.rb
avm-tools-0.122.0 sub/eac_templates/lib/eac_templates/patches/module/template.rb
eac_tools-0.8.0 sub/avm-tools/sub/eac_templates/lib/eac_templates/patches/module/template.rb
eac_tools-0.7.0 sub/avm-tools/sub/eac_templates/lib/eac_templates/patches/module/template.rb