Class: SAS::XPT::Library

Inherits:
Object
  • Object
show all
Defined in:
lib/hlsv/xpt/library.rb

Overview

All datasets in a .xpt file.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source_file_path, create_date, modify_date, sas_version, sas_os) ⇒ Library

Returns a new instance of Library.



17
18
19
20
21
22
23
24
# File 'lib/hlsv/xpt/library.rb', line 17

def initialize(source_file_path, create_date, modify_date, sas_version, sas_os)
  @source_file_path = source_file_path
  @create_date = create_date
  @modify_date = modify_date
  @sas_version = sas_version
  @sas_os = sas_os
  @datasets = []
end

Instance Attribute Details

#create_dateObject (readonly)

Returns the value of attribute create_date.



10
11
12
# File 'lib/hlsv/xpt/library.rb', line 10

def create_date
  @create_date
end

#datasetsObject (readonly)

Returns the value of attribute datasets.



15
16
17
# File 'lib/hlsv/xpt/library.rb', line 15

def datasets
  @datasets
end

#modify_dateObject (readonly)

Returns the value of attribute modify_date.



11
12
13
# File 'lib/hlsv/xpt/library.rb', line 11

def modify_date
  @modify_date
end

#sas_osObject (readonly)

Returns the value of attribute sas_os.



13
14
15
# File 'lib/hlsv/xpt/library.rb', line 13

def sas_os
  @sas_os
end

#sas_versionObject (readonly)

Returns the value of attribute sas_version.



12
13
14
# File 'lib/hlsv/xpt/library.rb', line 12

def sas_version
  @sas_version
end

#source_file_pathObject (readonly)

Returns the value of attribute source_file_path.



9
10
11
# File 'lib/hlsv/xpt/library.rb', line 9

def source_file_path
  @source_file_path
end