Class: TheLocal::Provider

Inherits:
Data
  • Object
show all
Defined in:
lib/the_local/registry.rb

Overview

A registered provider (gem or app): its gem name, filename prefix, and a one-line scope used to generate the delegation trigger.

Instance Attribute Summary collapse

Instance Attribute Details

#gem_nameObject (readonly)

Returns the value of attribute gem_name

Returns:

  • (Object)

    the current value of gem_name



6
7
8
# File 'lib/the_local/registry.rb', line 6

def gem_name
  @gem_name
end

#prefixObject (readonly)

Returns the value of attribute prefix

Returns:

  • (Object)

    the current value of prefix



6
7
8
# File 'lib/the_local/registry.rb', line 6

def prefix
  @prefix
end

#scopeObject (readonly)

Returns the value of attribute scope

Returns:

  • (Object)

    the current value of scope



6
7
8
# File 'lib/the_local/registry.rb', line 6

def scope
  @scope
end