Module: ParamsReady::Extensions::Finalizer

Included in:
Parameter::AbstractDefinition, Value::GenericCoder
Defined in:
lib/params_ready/extensions/finalizer.rb

Defined Under Namespace

Modules: InstanceMethods

Instance Method Summary collapse

Instance Method Details

#obligatoryObject



8
9
10
# File 'lib/params_ready/extensions/finalizer.rb', line 8

def obligatory
  @obligatory ||= []
end

#obligatory!(*args) ⇒ Object



4
5
6
# File 'lib/params_ready/extensions/finalizer.rb', line 4

def obligatory!(*args)
  obligatory.concat args
end