Class: ODDB::View::User::OddbDatDownloadInnerComposite

Inherits:
HtmlGrid::Composite show all
Includes:
Export
Defined in:
src/view/user/oddbdatdownload.rb

Constant Summary

COMPONENTS =
{
  [0,0]   => :oddbdat_download_tar_gz,
  [0,1]   => :oddbdat_download_zip,
  [0,2]   => :s31x_tar_gz,
  [0,3]   => :s31x_zip,
}
CSS_MAP =
{
  [0,0,1,4] =>  'list',
}
EXPORT_FILE =
'oddbdat'

Constants included from Export

EXPORT_DIR, EXPORT_FILE

Instance Method Summary (collapse)

Methods included from Export

#checkbox_with_filesize, #convert_filesize, #datadesc, #display?, #example, #export_link, #file_path, #file_paths, #filesize, #once, #once_or_year, #uncompressed?

Methods inherited from HtmlGrid::Composite

event_link, #hash_insert_col, #hash_insert_row

Instance Method Details

- (Object) oddbdat_download_tar_gz(model, session)



24
25
26
# File 'src/view/user/oddbdatdownload.rb', line 24

def oddbdat_download_tar_gz(model, session)
  link_with_filesize("oddbdat.tar.gz")
end

- (Object) oddbdat_download_zip(model, session)



27
28
29
# File 'src/view/user/oddbdatdownload.rb', line 27

def oddbdat_download_zip(model, session)
  link_with_filesize("oddbdat.zip")
end

- (Object) s31x_tar_gz(model, session)



30
31
32
# File 'src/view/user/oddbdatdownload.rb', line 30

def s31x_tar_gz(model, session)
  link_with_filesize("s31x.gz")
end

- (Object) s31x_zip(model, session)



33
34
35
# File 'src/view/user/oddbdatdownload.rb', line 33

def s31x_zip(model, session)
  link_with_filesize("s31x.zip")
end