Class: Slackware::Script
Constant Summary
Constants inherited from Package
Package::FMT_UPGRADE_TIME, Package::RE_COMPRESSED_PACKAGE_SIZE, Package::RE_FILE_LIST, Package::RE_PACKAGE_DESCRIPTION, Package::RE_PACKAGE_LOCATION, Package::RE_UNCOMPRESSED_PACKAGE_SIZE
Instance Attribute Summary collapse
-
#script ⇒ Object
Returns the value of attribute script.
Attributes inherited from Package
#arch, #build, #file, #name, #owned_files, #path, #tag, #tag_sep, #time, #upgrade_time, #version
Instance Method Summary collapse
-
#initialize(name = nil) ⇒ Script
constructor
A new instance of Script.
- #parse(name) ⇒ Object
Methods inherited from Package
#compressed_size, #compressed_size=, #fullname, #get_owned_files, #get_path, #get_time, #inspect, #package_description, #package_description=, #package_location, #package_location=, parse, #set_owned_files, #uncompressed_size, #uncompressed_size=
Constructor Details
#initialize(name = nil) ⇒ Script
Returns a new instance of Script.
254 255 256 257 |
# File 'lib/slackware/package.rb', line 254 def initialize(name = nil) self.script = true super end |
Instance Attribute Details
#script ⇒ Object
Returns the value of attribute script.
252 253 254 |
# File 'lib/slackware/package.rb', line 252 def script @script end |
Instance Method Details
#parse(name) ⇒ Object
259 260 261 262 |
# File 'lib/slackware/package.rb', line 259 def parse(name) super self.script = true end |