Class: EasyTalk::Builders::NullBuilder
- Inherits:
-
BaseBuilder
- Object
- BaseBuilder
- EasyTalk::Builders::NullBuilder
- Defined in:
- lib/easy_talk/builders/null_builder.rb
Overview
builder class for Null properties.
Constant Summary
Constants inherited from BaseBuilder
Instance Attribute Summary
Attributes inherited from BaseBuilder
Instance Method Summary collapse
-
#initialize(name, _constraints = {}) ⇒ NullBuilder
constructor
A new instance of NullBuilder.
Methods inherited from BaseBuilder
Constructor Details
#initialize(name, _constraints = {}) ⇒ NullBuilder
Returns a new instance of NullBuilder.
11 12 13 |
# File 'lib/easy_talk/builders/null_builder.rb', line 11 def initialize(name, _constraints = {}) super(name, { type: 'null' }, {}, {}) end |