class BigSister::FileInfo

Constants

PROPERTIES

Public Class Methods

new(data = {}) click to toggle source
# File lib/bigsister/file_info.rb, line 9
def initialize(data = {})
  @name = data[:name]
  @file_size = data[:file_size]
end

Public Instance Methods

type() click to toggle source
# File lib/bigsister/file_info.rb, line 14
def type
  "file"
end