Class: BCDD::Contract::Null::Checking
- Inherits:
-
Object
- Object
- BCDD::Contract::Null::Checking
- Includes:
- Core::Checking
- Defined in:
- lib/bcdd/ext/contract/null.rb
Constant Summary collapse
- EMPTY_ARRAY =
[].freeze
Instance Method Summary collapse
- #errors_message ⇒ Object
-
#initialize(_checker, value) ⇒ Checking
constructor
A new instance of Checking.
Constructor Details
#initialize(_checker, value) ⇒ Checking
Returns a new instance of Checking.
11 12 13 14 |
# File 'lib/bcdd/ext/contract/null.rb', line 11 def initialize(_checker, value) @value = value @errors = EMPTY_ARRAY end |
Instance Method Details
#errors_message ⇒ Object
16 17 18 |
# File 'lib/bcdd/ext/contract/null.rb', line 16 def '' end |