Class: GatherContent::Config::Tabs
- Inherits:
-
Array
- Object
- Array
- GatherContent::Config::Tabs
- Defined in:
- lib/gather_content/config/tabs.rb
Instance Method Summary collapse
Instance Method Details
#serialize(options = nil) ⇒ Object
4 5 6 |
# File 'lib/gather_content/config/tabs.rb', line 4 def serialize( = nil) self.map{ |el| el.serialize() } end |
#to_json(options = nil) ⇒ Object
8 9 10 |
# File 'lib/gather_content/config/tabs.rb', line 8 def to_json( = nil) self.serialize.to_json end |