Class: Kanal::Core::Helpers::ParameterRegistration
- Inherits:
-
Object
- Object
- Kanal::Core::Helpers::ParameterRegistration
- 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
-
#initialize(readonly) ⇒ ParameterRegistration
constructor
A new instance of ParameterRegistration.
- #readonly? ⇒ Boolean
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
16 17 18 |
# File 'lib/kanal/core/helpers/parameter_registrator.rb', line 16 def readonly? @readonly end |