Class: Diecut::PluginLoader::GemPlugin

Inherits:
Struct
  • Object
show all
Defined in:
lib/diecut/plugin-loader.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#gemObject

Returns the value of attribute gem

Returns:

  • (Object)

    the current value of gem



11
12
13
# File 'lib/diecut/plugin-loader.rb', line 11

def gem
  @gem
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



11
12
13
# File 'lib/diecut/plugin-loader.rb', line 11

def path
  @path
end

Instance Method Details

#gem?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/diecut/plugin-loader.rb', line 12

def gem?
  gem != NO_VALUE
end