Class: Refinery::Pages::Tab

Inherits:
Object
  • Object
show all
Defined in:
lib/refinery/formtastic/extensions/page_tab.rb

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Tab

Returns a new instance of Tab.



6
7
8
9
10
# File 'lib/refinery/formtastic/extensions/page_tab.rb', line 6

def initialize(options = {})
  options.each do |key, value|
    self.send("#{key}=", value)
  end
end