Sha256: 859ecab0965bcfc0dd681cf181d2d1475252264fdddfce196050dd0a71a413b7

Contents?: true

Size: 197 Bytes

Versions: 13

Compression:

Stored size: 197 Bytes

Contents

# frozen_string_literal: true

require 'ehbrs/patches/module/erb_template'

class Object
  def erb_template(subpath, binding_obj = self)
    self.class.erb_template(subpath, binding_obj)
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
ehbrs-tools-0.27.0 lib/ehbrs/patches/object/erb_template.rb
ehbrs-tools-0.26.0 lib/ehbrs/patches/object/erb_template.rb
ehbrs-tools-0.25.1 lib/ehbrs/patches/object/erb_template.rb
ehbrs-tools-0.25.0 lib/ehbrs/patches/object/erb_template.rb
ehbrs-tools-0.24.0 lib/ehbrs/patches/object/erb_template.rb
ehbrs-tools-0.23.1 lib/ehbrs/patches/object/erb_template.rb
ehbrs-tools-0.23.0 lib/ehbrs/patches/object/erb_template.rb
ehbrs-tools-0.22.0 lib/ehbrs/patches/object/erb_template.rb
ehbrs-tools-0.21.0 lib/ehbrs/patches/object/erb_template.rb
ehbrs-tools-0.20.0 lib/ehbrs/patches/object/erb_template.rb
ehbrs-tools-0.19.0 lib/ehbrs/patches/object/erb_template.rb
ehbrs-tools-0.18.0 lib/ehbrs/patches/object/erb_template.rb
ehbrs-tools-0.17.0 lib/ehbrs/patches/object/erb_template.rb