Sha256: 79b335e78dcf845610c627079b0d1f8a7f57020bbf6ad968cac6a1db4acc8e71

Contents?: true

Size: 254 Bytes

Versions: 2

Compression:

Stored size: 254 Bytes

Contents

module Apotomo
  class TabWidget < StatefulWidget
    
    attr_accessor :title
    
    def initialize(*args)
      super(*args)
      
      @title = @opts[:title] || self.name.to_s
    end
    
    
    def display
      render
    end
    
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
apotomo-0.1.2 app/cells/apotomo/tab_widget.rb
apotomo-0.1.1 app/cells/apotomo/tab_widget.rb