class TaoPopover::Component
Public Class Methods
new(view, options = {})
click to toggle source
Calls superclass method
# File lib/tao_popover/component.rb, line 4 def initialize view, options = {} super if @options[:class].present? @options[:class] += ' tao-popover' else @options[:class] = 'tao-popover' end end