class Parcels::FortitudeAlongsideParcel
Attributes
full_path[R]
widget_tree[R]
Public Class Methods
logical_path_prefix()
click to toggle source
# File lib/parcels/fortitude_alongside_parcel.rb, line 7 def self.logical_path_prefix "#{logical_path_prefix_base}alongside" end
Public Instance Methods
tag_type()
click to toggle source
# File lib/parcels/fortitude_alongside_parcel.rb, line 22 def tag_type :alongside end
tag_types_that_must_come_before()
click to toggle source
# File lib/parcels/fortitude_alongside_parcel.rb, line 18 def tag_types_that_must_come_before [ ] end
to_css(sprockets_context)
click to toggle source
# File lib/parcels/fortitude_alongside_parcel.rb, line 11 def to_css(sprockets_context) if widget_class.respond_to?(:_parcels_widget_class_alongside_css) && (!(css = widget_class._parcels_widget_class_alongside_css(widget_tree.parcels_environment, sprockets_context)).blank?) css end end
usable?()
click to toggle source
Calls superclass method
# File lib/parcels/fortitude_alongside_parcel.rb, line 26 def usable? super && widget_class_full_path end
Private Instance Methods
widget_class_full_path()
click to toggle source
# File lib/parcels/fortitude_alongside_parcel.rb, line 33 def widget_class_full_path @widget_class_full_path ||= (::Parcels::Utils::PathUtils.widget_class_file_for_alongside_file(full_path) || :none) @widget_class_full_path unless @widget_class_full_path == :none end