Class: Kanal::Core::Helpers::ParameterRegistration

Inherits:
Object
  • Object
show all
Defined in:
lib/kanal/core/helpers/parameter_registrator.rb

Overview

For registered property info, this class is used for future additions, maybe type validations or something

Instance Method Summary collapse

Constructor Details

#initialize(readonly) ⇒ ParameterRegistration

Returns a new instance of ParameterRegistration.



12
13
14
# File 'lib/kanal/core/helpers/parameter_registrator.rb', line 12

def initialize(readonly)
  @readonly = readonly
end

Instance Method Details

#readonly?Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/kanal/core/helpers/parameter_registrator.rb', line 16

def readonly?
  @readonly
end