Sha256: 56fb34f00d0911a1bdd7111672cd92aa2236aaec0c7cf41c3e715fdcb615d565

Contents?: true

Size: 470 Bytes

Versions: 18

Compression:

Stored size: 470 Bytes

Contents

require 'pantograph_core/ui/ui'

module Pantograph
  UI = PantographCore::UI unless Pantograph.const_defined?("UI")

  module Helper
    class <%= plugin_name.pantograph_class %>Helper
      # class methods that you define here become available in your action
      # as `Helper::<%= plugin_name.pantograph_class %>Helper.your_method`
      #
      def self.show_message
        UI.message("Hello from the <%= plugin_name %> plugin helper!")
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
pantograph-0.1.22 pantograph/lib/pantograph/plugins/template/lib/pantograph/plugin/%plugin_name%/helper/%plugin_name%_helper.rb.erb
pantograph-0.1.21 pantograph/lib/pantograph/plugins/template/lib/pantograph/plugin/%plugin_name%/helper/%plugin_name%_helper.rb.erb
pantograph-0.1.20 pantograph/lib/pantograph/plugins/template/lib/pantograph/plugin/%plugin_name%/helper/%plugin_name%_helper.rb.erb
pantograph-0.1.19 pantograph/lib/pantograph/plugins/template/lib/pantograph/plugin/%plugin_name%/helper/%plugin_name%_helper.rb.erb
pantograph-0.1.17 pantograph/lib/pantograph/plugins/template/lib/pantograph/plugin/%plugin_name%/helper/%plugin_name%_helper.rb.erb
pantograph-0.1.16 pantograph/lib/pantograph/plugins/template/lib/pantograph/plugin/%plugin_name%/helper/%plugin_name%_helper.rb.erb
pantograph-0.1.15 pantograph/lib/pantograph/plugins/template/lib/pantograph/plugin/%plugin_name%/helper/%plugin_name%_helper.rb.erb
pantograph-0.1.14 pantograph/lib/pantograph/plugins/template/lib/pantograph/plugin/%plugin_name%/helper/%plugin_name%_helper.rb.erb
pantograph-0.1.13 pantograph/lib/pantograph/plugins/template/lib/pantograph/plugin/%plugin_name%/helper/%plugin_name%_helper.rb.erb
pantograph-0.1.12 pantograph/lib/pantograph/plugins/template/lib/pantograph/plugin/%plugin_name%/helper/%plugin_name%_helper.rb.erb
pantograph-0.1.10 pantograph/lib/pantograph/plugins/template/lib/pantograph/plugin/%plugin_name%/helper/%plugin_name%_helper.rb.erb
pantograph-0.1.8 pantograph/lib/pantograph/plugins/template/lib/pantograph/plugin/%plugin_name%/helper/%plugin_name%_helper.rb.erb
pantograph-0.1.7 pantograph/lib/pantograph/plugins/template/lib/pantograph/plugin/%plugin_name%/helper/%plugin_name%_helper.rb.erb
pantograph-0.1.6 pantograph/lib/pantograph/plugins/template/lib/pantograph/plugin/%plugin_name%/helper/%plugin_name%_helper.rb.erb
pantograph-0.1.4 pantograph/lib/pantograph/plugins/template/lib/pantograph/plugin/%plugin_name%/helper/%plugin_name%_helper.rb.erb
pantograph-0.1.3 pantograph/lib/pantograph/plugins/template/lib/pantograph/plugin/%plugin_name%/helper/%plugin_name%_helper.rb.erb
pantograph-0.1.1 pantograph/lib/pantograph/plugins/template/lib/pantograph/plugin/%plugin_name%/helper/%plugin_name%_helper.rb.erb
pantograph-0.1.0 pantograph/lib/pantograph/plugins/template/lib/pantograph/plugin/%plugin_name%/helper/%plugin_name%_helper.rb.erb