Class: Sapphire::DSL::Profiles::Profile

Inherits:
Object
  • Object
show all
Defined in:
lib/sapphire/DSL/Profiles/Profile.rb

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Profile

Returns a new instance of Profile.



14
15
16
17
# File 'lib/sapphire/DSL/Profiles/Profile.rb', line 14

def initialize(name)
  @name = name
  @lookups = {}
end

Instance Method Details

#Add(lookup) ⇒ Object



19
20
21
# File 'lib/sapphire/DSL/Profiles/Profile.rb', line 19

def Add(lookup)
  @lookups.merge! lookup
end