Sha256: 265d7d1ad613f9c4762025f25c3445b6d128b02987ae6d2458c97f0f04adae8c

Contents?: true

Size: 336 Bytes

Versions: 2

Compression:

Stored size: 336 Bytes

Contents

require 'active_support'
require 'active_support/core_ext'
require 'canpe/template_binding_container'

module Canpe
  class TemplateBinding
    attr_reader :canpe_hash

    def initialize(canpe_hash = {})
      @canpe_hash = canpe_hash
    end

    def canpe
      @_canpe ||= TemplateBindingContainer.new(canpe_hash)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
canpe-0.1.1 lib/canpe/template_binding.rb
canpe-0.1.0 lib/canpe/template_binding.rb