Class: Puppetfactory::Plugins

Inherits:
Object
  • Object
show all
Defined in:
lib/puppetfactory/plugins.rb

Defined Under Namespace

Classes: Certificates, Classification, CodeManager, ConsoleUser, Dashboard, Docker, Example, Gitea, Github, Gitviz, Hooks, LoginShell, Logs, R10k, ShellUser, Tree, UserEnvironment

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = nil) ⇒ Plugins

just sets up the namespace for now



6
7
8
# File 'lib/puppetfactory/plugins.rb', line 6

def initialize(options=nil)
  @weight ||= 100
end

Instance Attribute Details

#weightObject (readonly)

Returns the value of attribute weight.



3
4
5
# File 'lib/puppetfactory/plugins.rb', line 3

def weight
  @weight
end