Class: Dato::Local::FieldType::SingleBlock
- Inherits:
-
Object
- Object
- Dato::Local::FieldType::SingleBlock
- Defined in:
- lib/dato/local/field_type/single_block.rb
Class Method Summary collapse
Class Method Details
.parse(value, repo) ⇒ Object
7 8 9 |
# File 'lib/dato/local/field_type/single_block.rb', line 7 def self.parse(value, repo) value && repo.find(value) end |