Class: Confetti::PhoneGap::Plugin

Inherits:
Struct
  • Object
show all
Defined in:
lib/confetti/phonegap/plugin.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, src) ⇒ Plugin

Returns a new instance of Plugin.



6
7
8
9
# File 'lib/confetti/phonegap/plugin.rb', line 6

def initialize(name, src)
  @param_set = TypedSet.new Confetti::Config::Param
  super name, src
end

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



3
4
5
# File 'lib/confetti/phonegap/plugin.rb', line 3

def name
  @name
end

#param_setObject (readonly)

Returns the value of attribute param_set.



4
5
6
# File 'lib/confetti/phonegap/plugin.rb', line 4

def param_set
  @param_set
end

#versionObject

Returns the value of attribute version

Returns:

  • (Object)

    the current value of version



3
4
5
# File 'lib/confetti/phonegap/plugin.rb', line 3

def version
  @version
end