class Rock::DesignerPluginData

Template data Contains relevant information the widget and designer plugin to be generated.

Attributes

icon_path[R]
plugin_klassname[R]
project_name[R]
test_binary_name[R]
whats_this[R]
widget_klassname[R]

Public Class Methods

new(project_name,widget_klassname, icon_path, whats_this ) click to toggle source
# File lib/rock/widget_generator.rb, line 137
def initialize(project_name,widget_klassname, icon_path, whats_this )
    @project_name = project_name
    @widget_klassname = widget_klassname
    @plugin_klassname = widget_klassname + "Plugin"
    @test_binary_name = widget_klassname.downcase + "Test"
    @icon_path = icon_path
    @whats_this = whats_this
end

Public Instance Methods

get_binding() click to toggle source

Support templating

# File lib/rock/widget_generator.rb, line 147
def get_binding
    binding
end