Class: Arrow::Applet::SignatureStruct

Inherits:
Struct
  • Object
show all
Defined in:
lib/arrow/applet.rb

Overview

Applet signature struct. The fields are as follows:

name

The name of the applet; used for introspection and reports.

description

The description of the applet; used for introspection.

maintainer

The name of the maintainer for reports and introspection.

version

The version or revision number of the applet, which can be any object that has a #to_s method.

default_action

The action that will be run if no action is specified.

templates

A hash of templates used by the applet. The keys are Symbol identifiers which will be used for lookup, and the values are the paths to template files.

validator_profiles

A hash containing profiles for the built in form validator, one per action. See the documentation for FormValidator for the format of each profile hash.

Instance Attribute Summary collapse

Instance Attribute Details

#configObject

Returns the value of attribute config

Returns:

  • (Object)

    the current value of config



93
94
95
# File 'lib/arrow/applet.rb', line 93

def config
  @config
end

#default_actionObject

Returns the value of attribute default_action

Returns:

  • (Object)

    the current value of default_action



93
94
95
# File 'lib/arrow/applet.rb', line 93

def default_action
  @default_action
end

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



93
94
95
# File 'lib/arrow/applet.rb', line 93

def description
  @description
end

#maintainerObject

Returns the value of attribute maintainer

Returns:

  • (Object)

    the current value of maintainer



93
94
95
# File 'lib/arrow/applet.rb', line 93

def maintainer
  @maintainer
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



93
94
95
# File 'lib/arrow/applet.rb', line 93

def name
  @name
end

#templatesObject

Returns the value of attribute templates

Returns:

  • (Object)

    the current value of templates



93
94
95
# File 'lib/arrow/applet.rb', line 93

def templates
  @templates
end

#validator_profilesObject

Returns the value of attribute validator_profiles

Returns:

  • (Object)

    the current value of validator_profiles



93
94
95
# File 'lib/arrow/applet.rb', line 93

def validator_profiles
  @validator_profiles
end

#versionObject

Returns the value of attribute version

Returns:

  • (Object)

    the current value of version



93
94
95
# File 'lib/arrow/applet.rb', line 93

def version
  @version
end