Sha256: 991104c99ea68022099dfdf432d27f701f426d12cf49e2114800701223f72194

Contents?: true

Size: 672 Bytes

Versions: 8

Compression:

Stored size: 672 Bytes

Contents

# -*- encoding : utf-8 -*-
class Card; module Set; module All; module Erb; extend Card::Set # ~~~~~~~~~~~ above autogenerated; below pulled from /Users/ethan/dev/wagn/gem/card/mod/01_core/set/all/erb.rb ~~~~~~~~~~~
format do
  def render_erb locals={}, template=nil, a_binding=nil, &block
    template ||= block.call
    a_binding ||= binding
    locals.each do |k,v|
      #a_binding.local_variable_set(k, v) # needs ruby 2.1
      instance_variable_set("@#{k}",v)
    end
    ERB.new(template,nil,'-').result(binding)
  end
end


# ~~~~~~~~~~~ below autogenerated; above pulled from /Users/ethan/dev/wagn/gem/card/mod/01_core/set/all/erb.rb ~~~~~~~~~~~
end;end;end;end;

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
card-1.16.9 tmpsets/set/mod001-01_core/all/erb.rb
card-1.16.8 tmpsets/set/mod001-01_core/all/erb.rb
card-1.16.7 tmpsets/set/mod001-01_core/all/erb.rb
card-1.16.6 tmpsets/set/mod001-01_core/all/erb.rb
card-1.16.5 tmpsets/set/mod001-01_core/all/erb.rb
card-1.16.4 tmpsets/set/mod001-01_core/all/erb.rb
card-1.16.3 tmpsets/set/mod001-01_core/all/erb.rb
card-1.16.2 tmpsets/set/mod001-01_core/all/erb.rb