Class: Agave::Local::FieldType::Gallery
- Defined in:
- lib/agave/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
17 18 19 |
# File 'lib/agave/local/field_type/gallery.rb', line 17 def to_hash(max_depth = 3, current_depth = 0) map { |item| item.to_hash(max_depth, current_depth) } end |