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