class GemHadar
def has_to_be_set(name)
-
(ArgumentError)
- if the specified attribute has not been set
Parameters:
-
name
(String
) -- the name of the required attribute
def has_to_be_set(name) fail "#{self.class}: #{name} has to be set for gem" end