Class: Clowne::Utils::Params::BaseProxy
- Inherits:
-
Object
- Object
- Clowne::Utils::Params::BaseProxy
- Defined in:
- lib/clowne/utils/params.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value) ⇒ BaseProxy
constructor
A new instance of BaseProxy.
- #permit(_params) ⇒ Object
Constructor Details
#initialize(value) ⇒ BaseProxy
Returns a new instance of BaseProxy.
11 12 13 |
# File 'lib/clowne/utils/params.rb', line 11 def initialize(value) @value = value end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
9 10 11 |
# File 'lib/clowne/utils/params.rb', line 9 def value @value end |
Instance Method Details
#permit(_params) ⇒ Object
15 16 17 |
# File 'lib/clowne/utils/params.rb', line 15 def permit(_params) raise NotImplementedError end |