Sha256: 889b25da94bbfbe96a6fbf17e02e3d820f6b51707a680e9a867ad86336e6eacb

Contents?: true

Size: 823 Bytes

Versions: 1

Compression:

Stored size: 823 Bytes

Contents

module MegaBar
  class ProfileTable
    attr_accessor :app_format
    attr_accessor :app_wrapper
    attr_accessor :field_header_wrapper
    attr_accessor :app_wrapper_end
    attr_accessor :field_header_wrapper
    attr_accessor :field_header_wrapper_end
    attr_accessor :record_wrapper
    attr_accessor :record_wrapper_end
    attr_accessor :field_wrapper
    attr_accessor :field_wrapper_end 
    attr_accessor :separate_header_row
    def initialize
      @app_format = 'profile_table'
      @app_wrapper = '<table>'
      @app_wrapper_end = '</table>'
      @field_header_wrapper = '<th>'
      @field_header_wrapper_end =  '</th>'
      @record_wrapper = '<tr>'
      @record_wrapper_end = '<th>'
      @field_wrapper = '<td>'
      @field_wrapper_end = '</td>'
      @separate_header_row = false
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mega_bar-0.0.1 app/controllers/mega_bar/profile_table.rb