Sha256: 5ed10e426ef5c2d8d687f36d80be0f7b8968c985bee03f3a7748ccd555fd0e48

Contents?: true

Size: 530 Bytes

Versions: 9

Compression:

Stored size: 530 Bytes

Contents

# encoding: utf-8

# This file will be loaded automatically when the pupu helper is used
# If you don't want to load this file, use pupu :whatever, helpers: false

$LOAD_PATH.unshift(File.expand_path("lib", __FILE__))

begin
  require "<%= @name %>/adapters/#{Pupu.framework}"
rescue LoadError
  # If you don't have adapter file, everything should work anyway since Pupu::Helpers
  # mixin is included into helper module of your framework, so we can fail silently
end

module Pupu::Helpers
  include <%= @constant %>::Helpers
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pupu-0.2.1 stubs/pupu/content/init.rb.rbt
pupu-0.2 stubs/pupu/content/init.rb.rbt
pupu-0.1 stubs/pupu/content/init.rb.rbt
pupu-0.0.5.5 stubs/pupu/content/init.rb.rbt
pupu-0.0.5.4 stubs/pupu/content/init.rb.rbt
pupu-0.0.5.3 stubs/pupu/content/init.rb.rbt
pupu-0.0.5.2 stubs/pupu/content/init.rb.rbt
pupu-0.0.5.1 stubs/pupu/content/init.rb.rbt
pupu-0.0.5 stubs/pupu/content/init.rb.rbt