Class: CdnFu::FileInfo
- Inherits:
-
Object
- Object
- CdnFu::FileInfo
- Defined in:
- lib/cdn_fu/file_info.rb
Instance Attribute Summary collapse
-
#gzip ⇒ Object
writeonly
Sets the attribute gzip.
-
#local_path ⇒ Object
Returns the value of attribute local_path.
-
#minified_path ⇒ Object
Returns the value of attribute minified_path.
-
#minify ⇒ Object
writeonly
Sets the attribute minify.
-
#preprocess ⇒ Object
writeonly
Sets the attribute preprocess.
-
#processed_path ⇒ Object
Returns the value of attribute processed_path.
-
#remote_path ⇒ Object
Returns the value of attribute remote_path.
Instance Method Summary collapse
Instance Attribute Details
#gzip=(value) ⇒ Object (writeonly)
Sets the attribute gzip
4 5 6 |
# File 'lib/cdn_fu/file_info.rb', line 4 def gzip=(value) @gzip = value end |
#local_path ⇒ Object
Returns the value of attribute local_path.
3 4 5 |
# File 'lib/cdn_fu/file_info.rb', line 3 def local_path @local_path end |
#minified_path ⇒ Object
Returns the value of attribute minified_path.
3 4 5 |
# File 'lib/cdn_fu/file_info.rb', line 3 def minified_path @minified_path end |
#minify=(value) ⇒ Object (writeonly)
Sets the attribute minify
4 5 6 |
# File 'lib/cdn_fu/file_info.rb', line 4 def minify=(value) @minify = value end |
#preprocess=(value) ⇒ Object (writeonly)
Sets the attribute preprocess
4 5 6 |
# File 'lib/cdn_fu/file_info.rb', line 4 def preprocess=(value) @preprocess = value end |
#processed_path ⇒ Object
Returns the value of attribute processed_path.
3 4 5 |
# File 'lib/cdn_fu/file_info.rb', line 3 def processed_path @processed_path end |
#remote_path ⇒ Object
Returns the value of attribute remote_path.
3 4 5 |
# File 'lib/cdn_fu/file_info.rb', line 3 def remote_path @remote_path end |
Instance Method Details
#gzip? ⇒ Boolean
6 7 8 |
# File 'lib/cdn_fu/file_info.rb', line 6 def gzip? @gzip end |
#minify? ⇒ Boolean
10 11 12 |
# File 'lib/cdn_fu/file_info.rb', line 10 def minify? @minify end |
#preprocess? ⇒ Boolean
14 15 16 |
# File 'lib/cdn_fu/file_info.rb', line 14 def preprocess? @preprocess end |