Class: Sapphire::DSL::Profiles::Profile
- Defined in:
- lib/sapphire/DSL/Profiles/Profile.rb
Instance Method Summary collapse
- #Add(lookup) ⇒ Object
-
#initialize(name) ⇒ Profile
constructor
A new instance of Profile.
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 |