Class: LabelPrinter::Label::AssetRedirect
- Inherits:
-
Object
- Object
- LabelPrinter::Label::AssetRedirect
- Defined in:
- lib/label_printer/label/asset_redirect.rb
Instance Attribute Summary collapse
-
#printables ⇒ Object
readonly
Returns the value of attribute printables.
Instance Method Summary collapse
- #assets ⇒ Object
-
#initialize(options) ⇒ AssetRedirect
constructor
A new instance of AssetRedirect.
- #labels ⇒ Object
Constructor Details
#initialize(options) ⇒ AssetRedirect
Returns a new instance of AssetRedirect.
7 8 9 10 |
# File 'lib/label_printer/label/asset_redirect.rb', line 7 def initialize() @printables = [:printables] @printer_type_class = [:printer_type_class] end |
Instance Attribute Details
#printables ⇒ Object (readonly)
Returns the value of attribute printables.
5 6 7 |
# File 'lib/label_printer/label/asset_redirect.rb', line 5 def printables @printables end |
Instance Method Details
#assets ⇒ Object
21 22 23 |
# File 'lib/label_printer/label/asset_redirect.rb', line 21 def assets printable_assets.each { |asset| asset. if asset..blank? } end |