Class: Jared::Plugin

Inherits:
Object
  • Object
show all
Defined in:
lib/jared/plugin.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize {|_self| ... } ⇒ Plugin

Returns a new instance of Plugin.

Yields:

  • (_self)

Yield Parameters:

  • _self (Jared::Plugin)

    the object that the method was called on



7
8
9
# File 'lib/jared/plugin.rb', line 7

def initialize
  yield(self)
end

Instance Attribute Details

#commandObject

Returns the value of attribute command.



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

def command
  @command
end

#descriptionObject

Returns the value of attribute description.



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

def description
  @description
end

#githubObject

Returns the value of attribute github.



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

def github
  @github
end

#github_repoObject

Returns the value of attribute github_repo.



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

def github_repo
  @github_repo
end

#jared_versionObject

Returns the value of attribute jared_version.



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

def jared_version
  @jared_version
end

#main_classObject

Returns the value of attribute main_class.



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

def main_class
  @main_class
end

#platformObject

Returns the value of attribute platform.



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

def platform
  @platform
end

#pluginObject

Returns the value of attribute plugin.



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

def plugin
  @plugin
end

#ruby_platformObject

Returns the value of attribute ruby_platform.



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

def ruby_platform
  @ruby_platform
end

#rubygemObject

Returns the value of attribute rubygem.



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

def rubygem
  @rubygem
end

#rubygem_nameObject

Returns the value of attribute rubygem_name.



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

def rubygem_name
  @rubygem_name
end

#versionObject

Returns the value of attribute version.



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

def version
  @version
end