Class: EasyTalk::Builders::DateBuilder
- Inherits:
-
StringBuilder
- Object
- BaseBuilder
- StringBuilder
- EasyTalk::Builders::DateBuilder
- Defined in:
- lib/easy_talk/builders/date_builder.rb
Overview
Builder class for date properties.
Constant Summary
Constants inherited from StringBuilder
Constants inherited from BaseBuilder
Instance Attribute Summary
Attributes inherited from BaseBuilder
Instance Method Summary collapse
Methods inherited from StringBuilder
Methods inherited from BaseBuilder
#build, collection_type?, #initialize
Constructor Details
This class inherits a constructor from EasyTalk::Builders::StringBuilder
Instance Method Details
#schema ⇒ Object
11 12 13 14 15 |
# File 'lib/easy_talk/builders/date_builder.rb', line 11 def schema super.tap do |schema| schema[:format] = 'date' end end |