Class: Dato::Local::FieldType::Gallery
- Defined in:
- lib/dato/local/field_type/gallery.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Array
Class Method Details
Instance Method Details
#to_hash(max_depth = 3, current_depth = 0) ⇒ Object
18 19 20 |
# File 'lib/dato/local/field_type/gallery.rb', line 18 def to_hash(max_depth = 3, current_depth = 0) map { |item| item.to_hash(max_depth, current_depth) } end |